I want to do something in C99 one way, otherwise to perform it another way. What is the #define to check for?
#define
#ifdef C99 ... #else ... #endif >
#if __STDC_VERSION__ == 199901L /* C99 */ #else /* not C99 */ #endif
Change == to >= if you want to test for C99 and later.
==
>=