[Python-checkins] r83325 - python/branches/py3k/Modules/_ctypes/ctypes.h

georg.brandl python-checkins at python.org
Sat Jul 31 11:37:03 CEST 2010


Author: georg.brandl
Date: Sat Jul 31 11:37:03 2010
New Revision: 83325

Log:
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.

Modified:
   python/branches/py3k/Modules/_ctypes/ctypes.h

Modified: python/branches/py3k/Modules/_ctypes/ctypes.h
==============================================================================
--- python/branches/py3k/Modules/_ctypes/ctypes.h	(original)
+++ python/branches/py3k/Modules/_ctypes/ctypes.h	Sat Jul 31 11:37:03 2010
@@ -1,3 +1,7 @@
+#if defined (__SVR4) && defined (__sun)
+#   include <alloca.h>
+#endif
+
 #ifndef MS_WIN32
 #define max(a, b) ((a) > (b) ? (a) : (b))
 #define min(a, b) ((a) < (b) ? (a) : (b))


More information about the Python-checkins mailing list