[CRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Aug 2010 13:48:40 +0000 (13:48 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Aug 2010 13:48:40 +0000 (13:48 +0000)
- Fix __MINGW_MSC_PREREQ logic.

svn path=/trunk/; revision=48657

reactos/include/crt/_mingw.h

index c1da6d7..b35b6af 100644 (file)
@@ -44,7 +44,7 @@
 #endif
 
 #if defined (_MSC_VER)
-#define __MINGW_MSC_PREREQ(major, minor) ((major * 100 + minor * 10) >= _MSC_VER)
+#define __MINGW_MSC_PREREQ(major, minor) (_MSC_VER >= (major * 100 + minor * 10))
 #else
 #define __MINGW_MSC_PREREQ(major, minor) 0
 #endif