目前,我正在为这样的不同配置编写配色方案。我不能这样结合,因为我收到了警告。我该怎么办?我的一个是iOS版。我也试过这样但不行。
#ifdef defined(DEBUG) || defined(STAGING) || defined(RELEASE)
ifdef末尾的额外令牌
#ifdef DEBUG || STAGING || RELEASE
// Color Code
#define COLOR_HIGHLIGHT 0x057f69
#define COLOR_SEPERATOR 0xCCCCCC
#define COLOR_SEPERATOR_FEEDS 0xE6E6E6
#define COLOR_PRIMARY_TEXT 0x333333
#define COLOR_SECONDARY_TEXT 0x999999
#define COLOR_PROFILE_TEXT 0x666666
#define COLOR_NAVIGATION_BAR 0xf1f1f1
#define COLOR_CATEGORY_DISPLAY 0xe7e7e7
#define COLOR_BLACK 0x000000
#define COLOR_WHITE 0xFFFFFF
#define COLOR_SHARE_BORDER 0xededed
#define COLOR_HUD 0xCCCCCC
#define COLOR_PROFILE_BORDER 0xE1E1E1
#elif DEBUG_SMRT
// Color Code
#define COLOR_HIGHLIGHT 0xed192f
#define COLOR_SEPERATOR 0xCCCCCC
#define COLOR_SEPERATOR_FEEDS 0xE6E6E6
#define COLOR_PRIMARY_TEXT 0x333333
#define COLOR_SECONDARY_TEXT 0x999999
#define COLOR_PROFILE_TEXT 0x666666
#define COLOR_NAVIGATION_BAR 0xf1f1f1
#define COLOR_CATEGORY_DISPLAY 0xe7e7e7
#define COLOR_BLACK 0x000000
#define COLOR_WHITE 0xFFFFFF
#define COLOR_SHARE_BORDER 0xededed
#define COLOR_HUD 0xCCCCCC
#define COLOR_PROFILE_BORDER 0xE1E1E1
#endif