mario::konrad
programming / C++ / sailing / nerd stuff
Preprocessor Directives
© 2003 / Mario Konrad

To print all defined preprocessor symbols use the command:

$ echo "" | gcc -E -dM -

This will display all defined preprocessor symbols and their values.

There is also a list of predefined macros, grouped by operating systems: