Show More
@@ -17,7 +17,6 b'' | |||
|
17 | 17 | #include "charencode.h" |
|
18 | 18 | #include "util.h" |
|
19 | 19 | |
|
20 | #ifdef IS_PY3K | |
|
21 | 20 | /* The mapping of Python types is meant to be temporary to get Python |
|
22 | 21 | * 3 to compile. We should remove this once Python 3 support is fully |
|
23 | 22 | * supported and proper types are used in the extensions themselves. */ |
@@ -25,13 +24,6 b'' | |||
|
25 | 24 | #define PyInt_FromLong PyLong_FromLong |
|
26 | 25 | #define PyInt_FromSsize_t PyLong_FromSsize_t |
|
27 | 26 | #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 | |
|
34 | #endif | |
|
35 | 27 | |
|
36 | 28 | static const char *const versionerrortext = "Python minor version mismatch"; |
|
37 | 29 |
General Comments 0
You need to be logged in to leave comments.
Login now