]> granicus.if.org Git - python/commitdiff
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not...
authorGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 09:37:03 +0000 (09:37 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 31 Jul 2010 09:37:03 +0000 (09:37 +0000)
Modules/_ctypes/ctypes.h

index e0bad079531a34276f4798c31f489c6d28e66830..0af5fa1ddf4acb2147b4dbff0468f9b6e462dc4a 100644 (file)
@@ -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))