W
Water Cooler v2
Sorry if this is a foolish question, but here it is.
I see things like
#ifndef STDC
...blah
#endif
#ifdef WIN32
...blah
#endif
in open source projects but I do not see where they actually define
these symbols WIN32 and STDC. I know what the #ifdef and #ifndef
preprocessor directives mean. I want to know how these symbols like
STDC and WIN32 are chosen. Are they some pre-defined symbols that
individual compilers expect? Or are they included when building the
project? What gives?
I see things like
#ifndef STDC
...blah
#endif
#ifdef WIN32
...blah
#endif
in open source projects but I do not see where they actually define
these symbols WIN32 and STDC. I know what the #ifdef and #ifndef
preprocessor directives mean. I want to know how these symbols like
STDC and WIN32 are chosen. Are they some pre-defined symbols that
individual compilers expect? Or are they included when building the
project? What gives?