Is there any standard way to test what system your code is being compiled on? I've seen it done like
What are these macros for different compilers?Code:#ifdef WIN32__UNDERSCORE_GARBAGE_MACRO_THING //WIN32-dependent code #endif
This is a discussion on System locale within the C++ Programming forums, part of the General Programming Boards category; Is there any standard way to test what system your code is being compiled on? I've seen it done like ...
Is there any standard way to test what system your code is being compiled on? I've seen it done like
What are these macros for different compilers?Code:#ifdef WIN32__UNDERSCORE_GARBAGE_MACRO_THING //WIN32-dependent code #endif
"If you tell the truth, you don't have to remember anything"
-Mark Twain
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
Jackpot. Thanks, Salem.
"If you tell the truth, you don't have to remember anything"
-Mark Twain