[INCLUDE]
[reactos.git] / reactos / include / reactos / msvctarget.h
1
2 #pragma once
3
4 /* translate GCC target defines to MS equivalents. */
5 #if defined(__i386__)
6 #if !defined(_X86_)
7 #define _X86_ 1
8 #endif
9 #if !defined(_M_IX86)
10 #define _M_IX86 1
11 #endif
12 #elif defined(__x86_64__) || defined(__x86_64)
13 #if !defined(_AMD64_)
14 #define _AMD64_ 1
15 #endif
16 #if !defined(_M_AMD64)
17 #define _M_AMD64 1
18 #endif
19 #if !defined(_M_X64)
20 #define _M_X64 1
21 #endif
22 #elif defined(__arm__)
23 #if !defined(_ARM_)
24 #define _ARM_ 1
25 #endif
26 #if !defined(_M_ARM)
27 #define _M_ARM 1
28 #endif
29 #elif defined(__ia64__)
30 #if !defined(_IA64_)
31 #define _IA64_ 1
32 #endif
33 #if !defined(_M_IA64)
34 #define _M_IA64 1
35 #endif
36 #elif defined(__alpha__)
37 #if !defined(_ALPHA_)
38 #define _ALPHA_ 1
39 #endif
40 #if !defined(_M_ALPHA)
41 #define _M_ALPHA 1
42 #endif
43 #elif defined(__powerpc__)
44 #if !defined(_PPC_)
45 #define _PPC_ 1
46 #endif
47 #if !defined(_M_PPC)
48 #define _M_PPC 1
49 #endif
50 #else
51 #error Unknown architecture
52 #endif