diff options
| author | Georg Brandl <georg@python.org> | 2010-07-31 09:37:03 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-07-31 09:37:03 +0000 |
| commit | ca9400f0519261a0d8a282ff1dcaadaddf00fd64 (patch) | |
| tree | 88e0f4390ac04e2144bc85e0b8819eedf8448bcd | |
| parent | f71ed9b8285e35521384bb88574d305d133d5c38 (diff) | |
| download | cpython-git-ca9400f0519261a0d8a282ff1dcaadaddf00fd64.tar.gz | |
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
| -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 e0bad07953..0af5fa1ddf 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)) |
