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

This commit is contained in:
Georg Brandl 2010-07-31 09:37:03 +00:00
parent f71ed9b828
commit ca9400f051
1 changed files with 4 additions and 0 deletions

View 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))