equal
deleted
inserted
replaced
40 ((x & 0xff000000UL) >> 24); |
40 ((x & 0xff000000UL) >> 24); |
41 } |
41 } |
42 #else |
42 #else |
43 /* not windows */ |
43 /* not windows */ |
44 # include <sys/types.h> |
44 # include <sys/types.h> |
45 # include <arpa/inet.h> |
45 # ifdef __BEOS__ |
|
46 # include <ByteOrder.h> |
|
47 # else |
|
48 # include <arpa/inet.h> |
|
49 # endif |
46 # include <inttypes.h> |
50 # include <inttypes.h> |
47 #endif |
51 #endif |
48 |
52 |
49 static char mpatch_doc[] = "Efficient binary patching."; |
53 static char mpatch_doc[] = "Efficient binary patching."; |
50 static PyObject *mpatch_Error; |
54 static PyObject *mpatch_Error; |