编译时打印宏变量

#ifdef CONFIG_DWMAC_MESON
#pragma message("\nCONFIG_DWMAC_MESON active\n")
note: #pragma message: 
CONFIG_DWMAC_MESON active

 #pragma message("\nCONFIG_DWMAC_MESON active\n")

你可能感兴趣的:(编译时打印宏变量)