Kaydet (Commit) 50a24d8b authored tarafından Thomas Heller's avatar Thomas Heller

Include <alloca.h> on Solaris, see issue #1506.

It would probably be better to have a configure test for that, but
this is outside of my configure expertise.
üst 66e2663e
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
This file should be kept compatible with Python 2.3, see PEP 291. This file should be kept compatible with Python 2.3, see PEP 291.
*****************************************************************/ *****************************************************************/
#if defined (__SVR4) && defined (__sun)
# include <alloca.h>
#endif
#if (PY_VERSION_HEX < 0x02050000) #if (PY_VERSION_HEX < 0x02050000)
typedef int Py_ssize_t; typedef int Py_ssize_t;
#define PyInt_FromSsize_t PyInt_FromLong #define PyInt_FromSsize_t PyInt_FromLong
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment