Are you talking about the defines? Then you can compile a simple source file and tell the compiler to dump the preprocessed source instead of generating object file.
For gcc I think it is something like: gcc -E main.c or g++ -E main.cpp, but I could be wrong of course, so consult the manual.