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