条件编译
#if (PHONE_TYPE == T46_TYPE)
#define LINEKEY_PERPAGE_COUNT 9
#elif (PHONE_TYPE == T48_TYPE)
#define LINEKEY_PERPAGE_COUNT 9
#elif (PHONE_TYPE == T42_TYPE || PHONE_TYPE == CPX_TYPE)
#define LINEKEY_PERPAGE_COUNT 5
#endif
原文地址:http://www.cnblogs.com/hqu-ye/p/3832992.html