From dee7a08f647b350c80627f27faa9b0216098cdc6 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Tue, 20 Sep 2011 12:32:04 +0200 Subject: Changed Windows 64bit OS define to x86_64. Also added check for __x86_64__ define since MinGW64 seems to define the _M_X64 macro through a header not available for config-win32.h. --- lib/config-win32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/config-win32.h') diff --git a/lib/config-win32.h b/lib/config-win32.h index e498192f8..cfbca9ca3 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -653,10 +653,10 @@ #undef OS #if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */ #define OS "i386-pc-win32" +#elif defined(_M_X64) || defined(__x86_64__) /* x86_64 (MSVC >=2005 or gcc) */ +#define OS "x86_64-pc-win32" #elif defined(_M_IA64) /* Itanium */ #define OS "ia64-pc-win32" -#elif defined(_M_X64) /* AMD64/EM64T - Not defined until MSVC 2005 */ -#define OS "amd64-pc-win32" #else #define OS "unknown-pc-win32" #endif -- cgit v1.2.3