With GNU/GCC there is exists a preprocessor assertion directive feature that takes the form:
#predicate (answer)
See GCC Assertions.
Does the Clang compiler/preprocessor have an equivalent feature?
With GNU/GCC there is exists a preprocessor assertion directive feature that takes the form:
#predicate (answer)
See GCC Assertions.
Does the Clang compiler/preprocessor have an equivalent feature?
Does the Clang compiler/preprocessor have an equivalent feature?
No. Use predefined macros specific to the environment, like __linux__ or __X86_64__ etc.