#ifdef ... #endif

 

#if defined(uic_OSD_RES_1920x1080)
#define uim_1920toHRes(h) (h)
#define uim_1080toVRes(v) (v)
#elif defined(uic_OSD_RES_1366x768)
#define uim_1920toHRes(h) (((h)*683)/960)
#define uim_1080toVRes(v) (((v)*32)/45)
#elif defined(uic_OSD_RES_960x540)
#define uic_GP_COORD_SYS gpe_COORD_960x540
#define uic_COORD_SYS_WIDTH 960
#else
#error No uic_OSD_RES!
#endif

 1 #include <stdio.h>
 2 
 3 #if (2>3)
 4 int a=1;
 5 #elif (2>2)
 6 int a=2;
 7 #else
 8 int a=3;
 9 #endif
10 
11 int main()
12 {
13     printf("a=%d\n",a);
14 }

 

 

#ifdef uic_VSLICK_ASSIST_DO_NOT_DEFINE
static ui_widget_t uiv_dialog_2_widget_button_1;
#endif

 

原文地址:https://www.cnblogs.com/ai616818/p/2570031.html