equal
deleted
inserted
replaced
25 /* clang-format on */ |
25 /* clang-format on */ |
26 |
26 |
27 extern PyTypeObject dirstateTupleType; |
27 extern PyTypeObject dirstateTupleType; |
28 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType) |
28 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType) |
29 |
29 |
|
30 #ifndef MIN |
30 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) |
31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) |
|
32 #endif |
31 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ |
33 /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ |
32 #if defined(_MSC_VER) || __STDC_VERSION__ < 199901L |
34 #if defined(_MSC_VER) || __STDC_VERSION__ < 199901L |
33 #define true 1 |
35 #define true 1 |
34 #define false 0 |
36 #define false 0 |
35 typedef unsigned char bool; |
37 typedef unsigned char bool; |