Commit 2bdae416 authored by Stefan Behnel's avatar Stefan Behnel

if undefined, define Py_HUGE_VAL the way CPython does it (for PyPy)

--HG--
extra : transplant_source : %D9%C4%E5%B7%FC9%0D%60%80R%E2%87%82S%9D%9C%8Bd%C3%C5
parent 9ea16572
...@@ -28,6 +28,10 @@ ...@@ -28,6 +28,10 @@
#define PY_LONG_LONG LONG_LONG #define PY_LONG_LONG LONG_LONG
#endif #endif
#ifndef Py_HUGE_VAL
#define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION #ifdef PYPY_VERSION
#define CYTHON_COMPILING_IN_PYPY 1 #define CYTHON_COMPILING_IN_PYPY 1
#define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_CPYTHON 0
......
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