From: Guido van Rossum Date: Tue, 20 May 1997 15:58:36 +0000 (+0000) Subject: workaround for Mac MSL header definitions of TRUE and FALSE (Jack) X-Git-Tag: v1.5a3~525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19a6c8acb8c17f52854a3c1fe6f24cad0b2aa225;p=python workaround for Mac MSL header definitions of TRUE and FALSE (Jack) --- 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