From 19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 20 May 1997 15:58:36 +0000 Subject: [PATCH] workaround for Mac MSL header definitions of TRUE and FALSE (Jack) --- Modules/rotormodule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index 65c1758715..5c7d5824ce 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 -- 2.50.0