##// END OF EJS Templates
cext: define S_IFLNK on Python 2.7 and Windows...
Gregory Szorc -
r49149:3620ab28 stable
parent child Browse files
Show More
@@ -25,6 +25,12 b''
25 #define PyInt_FromLong PyLong_FromLong
25 #define PyInt_FromLong PyLong_FromLong
26 #define PyInt_FromSsize_t PyLong_FromSsize_t
26 #define PyInt_FromSsize_t PyLong_FromSsize_t
27 #define PyInt_AsLong PyLong_AsLong
27 #define PyInt_AsLong PyLong_AsLong
28 #else
29 /* Windows on Python 2.7 doesn't define S_IFLNK. Python 3+ defines via
30 * pyport.h. */
31 #ifndef S_IFLNK
32 #define S_IFLNK 0120000
33 #endif
28 #endif
34 #endif
29
35
30 static const char *const versionerrortext = "Python minor version mismatch";
36 static const char *const versionerrortext = "Python minor version mismatch";
General Comments 0
You need to be logged in to leave comments. Login now