9514d907455dc7b707ae3cdba7b8b1c89d2d3f6e
[reactos.git] / reactos / include / reactos / msvctarget.h
1 #ifndef _MSC_VER
2 #ifndef __GNUC__
3 #error Unsupported compiler
4 #endif
5
6 /* translate GCC target defines to MS equivalents. */
7 #if defined(__i686__) && !defined(_M_IX86)
8 #define _M_IX86 600
9 #undef __i686__
10 #elif defined(__i586__) && !defined(_M_IX86)
11 #define _M_IX86 500
12 #undef __i586__
13 #elif defined(__i486__) && !defined(_M_IX86)
14 #define _M_IX86 400
15 #undef __i486__
16 #elif defined(__i386__) && !defined(_M_IX86)
17 #define _M_IX86 300
18 #endif
19 #endif