mirror of
https://github.com/python/cpython
synced 2024-09-16 00:07:33 +00:00
workaround for Mac MSL header definitions of TRUE and FALSE (Jack)
This commit is contained in:
parent
c23ef0a6e8
commit
19a6c8acb8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue