A conditional in the C preprocessor begins with a conditional directive: ‘#if’, ‘#ifdef’ or ‘#ifndef’.
• Ifdef: | ||
• If: | ||
• Defined: | ||
• Else: | ||
• Elif: | ||
• __has_attribute : |
||
• __has_cpp_attribute : |
||
• __has_c_attribute : |
||
• __has_builtin : |
||
• __has_include : |
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-12.1.0/cpp/Conditional-Syntax.html