To get a list of all the predefined macros that the compiler uses, use this:
clang -dM -E -x c /dev/null
You can do the same for gcc.
To get a list of all the predefined macros that the compiler uses, use this:
clang -dM -E -x c /dev/null
You can do the same for gcc.