diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-10 10:32:25 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2015-04-10 10:32:25 +0200 |
commit | 71c245581876ad7184388fa56b5877286c13b7d5 (patch) | |
tree | f7cde7456ae6c0ef115425883ee61864b4e22311 /Cython/Utility/ModuleSetupCode.c | |
parent | de4166dda038080797aeb6cb27e158df13fbf9ab (diff) | |
parent | 9817e3ca276e0a23a241ad5ec851a52d0ff37596 (diff) | |
download | cython-71c245581876ad7184388fa56b5877286c13b7d5.tar.gz |
Merge branch '0.22.x'
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index 3b228819c..4b77a4bf6 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -261,6 +261,14 @@ class __Pyx_FakeReference { # endif #endif +#ifndef CYTHON_NCP_UNUSED +# if CYTHON_COMPILING_IN_CPYTHON +# define CYTHON_NCP_UNUSED +# else +# define CYTHON_NCP_UNUSED CYTHON_UNUSED +# endif +#endif + typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ |