diff options
author | Jonathan Chambers <joncham@gmail.com> | 2008-04-16 01:07:58 +0000 |
---|---|---|
committer | guest <ivmai@mail.ru> | 2011-07-29 15:31:21 +0400 |
commit | 21e4448b2d4ddfdbb5a41d29f334194f2b4b4761 (patch) | |
tree | 45d64b7012cdf18d6fc73710b42471cfdb2f5a92 /include/private/gcconfig.h | |
parent | 32aecc7f9509b39f27f3b05427a8eebca6140f19 (diff) | |
download | bdwgc-21e4448b2d4ddfdbb5a41d29f334194f2b4b4761.tar.gz |
2008-04-15 Jonathan Chambers <joncham@gmail.com>
* include/private/gcconfig.h: Backport GC7 code to support Win64.
* win32_threads.c: Backport GC7 code to support Win64.
svn path=/trunk/mono/; revision=100798
Diffstat (limited to 'include/private/gcconfig.h')
-rw-r--r-- | include/private/gcconfig.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index cf2a825c..11aee131 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -399,14 +399,18 @@ # else # if (defined(_MSDOS) || defined(_MSC_VER)) && (_M_IX86 >= 300) \ || defined(_WIN32) && !defined(__CYGWIN32__) && !defined(__CYGWIN__) -# define I386 -# define MSWIN32 /* or Win32s */ -# define mach_type_known -# endif -# if defined(_MSC_VER) && defined(_M_IA64) -# define IA64 -# define MSWIN32 /* Really win64, but we don't treat 64-bit */ - /* variants as a differnt platform. */ +# if defined(__LP64__) || defined(_WIN64)
+# define X86_64
+# else
+# define I386
+# endif
+# define MSWIN32 /* or Win64 */
+# define mach_type_known
+# endif
+# if defined(_MSC_VER) && defined(_M_IA64)
+# define IA64
+# define MSWIN32 /* Really win64, but we don't treat 64-bit */
+ /* variants as a differnt platform. */
# endif # endif # if defined(__DJGPP__) |