mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08: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 New Issue
Block a user