Re: [PATCH] kconfig.h: remove config_enabled() macro

From: Masahiro Yamada
Date: Sun Oct 16 2016 - 22:13:17 EST


Hi Peter.


2016-10-17 3:44 GMT+09:00 <hpa@xxxxxxxxx>:
>
> How is __is_defined() different from defined()?



defined() can be used only in pre-processor's #if context, like

#if defined(FOO)
...
#endif



__is_defined() can be used more flexibly.




--
Best Regards
Masahiro Yamada