--- a/cpp.rst Sun Nov 13 18:57:57 2011 +0200
+++ b/cpp.rst Sun Nov 13 19:02:52 2011 +0200
@@ -22,6 +22,8 @@
http://predef.sourceforge.net/
http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros
+ http://msdn.microsoft.com/en-us/library/b0084kay.aspx
+ Predefined Macros
GNU C Compiler::
@@ -44,8 +46,11 @@
$ cc -qshowmacros -E EMPTY.c
For Visual Studio compiler there no any possibility get predefined macros from
-command line...
+command line... But some macros documented:
- http://msdn.microsoft.com/en-us/library/b0084kay.aspx
- Predefined Macros
+ _MSC_VER
+ Defines the compiler version. Always defined.
+ _WIN32
+ Defined for applications for Win32. Always defined.
+