Kaydet (Commit) 19a6c8ac authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst c23ef0a6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment