1. Armin Rigo
  2. cpython-withatomic

Commits

Georg Brandl  committed 6f8defd

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

  • Participants
  • Parent commits 57ea005
  • Branches default

Comments (0)

Files changed (1)

File Modules/_ctypes/ctypes.h

View file
  • Ignore whitespace
+#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))