workaround for Mac MSL header definitions of TRUE and FALSE (Jack)

This commit is contained in:
Guido van Rossum 1997-05-20 15:58:36 +00:00
parent c23ef0a6e8
commit 19a6c8acb8

View File

@ -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