lkml.org 
[lkml]   [2016]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] kconfig.h: remove config_enabled() macro
Hi Peter.


2016-10-17 3:44 GMT+09:00 <hpa@zytor.com>:
>
> 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

\
 
 \ /
  Last update: 2016-10-17 04:12    [W:0.093 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site