commit | ca9400f0519261a0d8a282ff1dcaadaddf00fd64 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Jul 31 09:37:03 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Jul 31 09:37:03 2010 +0000 |
tree | 88e0f4390ac04e2144bc85e0b8819eedf8448bcd | |
parent | f71ed9b8285e35521384bb88574d305d133d5c38 [diff] |
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
diff --git a/Modules/_ctypes/ctypes.h b/Modules/_ctypes/ctypes.h index e0bad07..0af5fa1 100644 --- a/Modules/_ctypes/ctypes.h +++ b/Modules/_ctypes/ctypes.h
@@ -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))