P99

◆ P99_COMPILER

#define P99_COMPILER   0

Identify the compiler.

All compilers have some specific macro that identifies them but it is difficult for user code to track all of them. This macro here can be used to identify the compiler in a portable way. E.g by something like

#if P99_COMPILER & (P99_COMPILER_CLANG | P99_COMPILER_GNU | P99_COMPILER_OPEN64)
...
#endif

See p99_generated.h for a list of the compilers that are known to P99.

Definition at line 10184 of file p99_generated.h.