[Python-checkins] r56562 - python/trunk/PC/pyconfig.h

mark.hammond python-checkins at python.org
Fri Jul 27 07:08:54 CEST 2007


Author: mark.hammond
Date: Fri Jul 27 07:08:54 2007
New Revision: 56562

Modified:
   python/trunk/PC/pyconfig.h
Log:
Correctly detect AMD64 architecture on VC2003


Modified: python/trunk/PC/pyconfig.h
==============================================================================
--- python/trunk/PC/pyconfig.h	(original)
+++ python/trunk/PC/pyconfig.h	Fri Jul 27 07:08:54 2007
@@ -140,7 +140,7 @@
 #if defined(_M_IA64)
 #define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
 #define MS_WINI64
-#elif defined(_M_X64)
+#elif defined(_M_X64) || defined(_M_AMD64)
 #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
 #define MS_WINX64
 #else


More information about the Python-checkins mailing list