diff options
author | Georg Brandl <georg@python.org> | 2010-07-31 09:37:03 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-31 09:37:03 (GMT) |
commit | ca9400f0519261a0d8a282ff1dcaadaddf00fd64 (patch) | |
tree | 88e0f4390ac04e2144bc85e0b8819eedf8448bcd /Modules/_ctypes | |
parent | f71ed9b8285e35521384bb88574d305d133d5c38 (diff) | |
download | cpython-ca9400f0519261a0d8a282ff1dcaadaddf00fd64.zip cpython-ca9400f0519261a0d8a282ff1dcaadaddf00fd64.tar.gz cpython-ca9400f0519261a0d8a282ff1dcaadaddf00fd64.tar.bz2 |
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r-- | Modules/_ctypes/ctypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |