[cfe-commits] r117005 - /cfe/trunk/lib/Basic/Targets.cpp

Francois Pichet pichet2000 at gmail.com
Thu Oct 21 02:39:28 PDT 2010


Author: fpichet
Date: Thu Oct 21 04:39:28 2010
New Revision: 117005

URL: http://llvm.org/viewvc/llvm-project?rev=117005&view=rev
Log:
MSVC defines WIN32 as a predefined macro.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=117005&r1=117004&r2=117005&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Oct 21 04:39:28 2010
@@ -446,6 +446,7 @@
     }
 
     Builder.defineMacro("_INTEGRAL_MAX_BITS", "64");
+    Builder.defineMacro("WIN32");
   }
 
 public:





More information about the cfe-commits mailing list