Show More
@@ -10,6 +10,7 b'' | |||
|
10 | 10 | */ |
|
11 | 11 | |
|
12 | 12 | #include <Python.h> |
|
13 | #include <stdint.h> | |
|
13 | 14 | #include <stdlib.h> |
|
14 | 15 | #include <string.h> |
|
15 | 16 |
@@ -23,8 +23,10 b'' | |||
|
23 | 23 | #include <Python.h> |
|
24 | 24 | #include <stdlib.h> |
|
25 | 25 | #include <string.h> |
|
26 | ||
|
26 | 27 | #ifdef _WIN32 |
|
27 | 28 | #ifdef _MSC_VER |
|
29 | /* msvc 6.0 has problems */ | |
|
28 | 30 | #define inline __inline |
|
29 | 31 | typedef unsigned long uint32_t; |
|
30 | 32 | #else |
@@ -38,8 +40,10 b' static uint32_t ntohl(uint32_t x)' | |||
|
38 | 40 | ((x & 0xff000000UL) >> 24); |
|
39 | 41 | } |
|
40 | 42 | #else |
|
43 | /* not windows */ | |
|
41 | 44 | #include <sys/types.h> |
|
42 | 45 | #include <arpa/inet.h> |
|
46 | # include <stdint.h> | |
|
43 | 47 | #endif |
|
44 | 48 | |
|
45 | 49 | static char mpatch_doc[] = "Efficient binary patching."; |
General Comments 0
You need to be logged in to leave comments.
Login now