1.多版本兼容
1.1 test.h或test.c或test.c包含的其他头文件中若包含
#ifdef PRINTT_LOG
#undef PRINTT_LOG
#endif
#define PRINTT_LOG
1.2 在test.c中的printf语句将执行
#ifdef PRINTT_LOG
printf("print log here.../n");
#endif
1.多版本兼容
1.1 test.h或test.c或test.c包含的其他头文件中若包含
#ifdef PRINTT_LOG
#undef PRINTT_LOG
#endif
#define PRINTT_LOG
1.2 在test.c中的printf语句将执行
#ifdef PRINTT_LOG
printf("print log here.../n");
#endif