summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 15:58:36 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-20 15:58:36 (GMT)
commit19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225 (patch)
tree621b6cced48de2051e045468895672549fe74c5c /Modules
parentc23ef0a6e82523cb43939572fafb70d36910caa5 (diff)
downloadcpython-19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225.zip
cpython-19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225.tar.gz
cpython-19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225.tar.bz2
workaround for Mac MSL header definitions of TRUE and FALSE (Jack)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/rotormodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c
index 65c1758..5c7d582 100644
--- a/Modules/rotormodule.c
+++ b/Modules/rotormodule.c
@@ -58,8 +58,12 @@ NOTE: you MUST use the SAME key in rotor.newrotor()
#include "Python.h"
#include "mymath.h"
+#ifndef TRUE
#define TRUE 1
+#endif
+#ifndef FALSE
#define FALSE 0
+#endif
typedef struct {
PyObject_HEAD