mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
workaround for Mac MSL header definitions of TRUE and FALSE (Jack)
This commit is contained in:
parent
c23ef0a6e8
commit
19a6c8acb8
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue