diff options
author | Jeroen Demeyer <jdemeyer@cage.ugent.be> | 2015-09-04 23:20:10 +0200 |
---|---|---|
committer | Jeroen Demeyer <jdemeyer@cage.ugent.be> | 2015-09-04 23:20:10 +0200 |
commit | 25f7614d5c2ab178c7c3974ed1c3f23892adb16d (patch) | |
tree | ab4735aa7774b3d7921eb6bf57eb2c483b68ea78 /Cython/Utility/ModuleSetupCode.c | |
parent | 1ea0816e83d509e68aa994213d0c3e50a781d982 (diff) | |
download | cython-25f7614d5c2ab178c7c3974ed1c3f23892adb16d.tar.gz |
undef unwanted defines from longintrepr.h
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index 81f8e70c8..a617731f1 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -45,6 +45,10 @@ #endif #if CYTHON_USE_PYLONG_INTERNALS #include "longintrepr.h" + /* These short defines can easily conflict with other code */ + #undef SHIFT + #undef BASE + #undef MASK #endif #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag) |