1 /* 2 * Copyright (C) 2017 Rockchip Electronics Co. Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of version 2 of the GNU General Public License as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but WITHOUT 9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11 * more details. 12 */ 13 14 #ifndef ANDROID_VERSION 15 #define ANDROID_VERSION(a, b, c, r) \ 16 (((a) << 24) + ((b) << 16) + ((c) << 8) + (r)) 17 #endif 18