diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-22 13:45:52 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-22 13:45:52 +0300 |
commit | 2dbb62d6f6918094701aaf76f4fa3e3fe393c6d1 (patch) | |
tree | 0c0bd020d76d6ceacfe91d4126e71e0bafc9bbdd /contrib/tools | |
parent | 0bc06f620d7059dff18ef16863d5df80985c9212 (diff) | |
download | ydb-2dbb62d6f6918094701aaf76f4fa3e3fe393c6d1.tar.gz |
intermediate changes
ref:3d57b4b10bdcb10691245c0f904b9a70f8c00bad
Diffstat (limited to 'contrib/tools')
-rw-r--r-- | contrib/tools/cython/Cython/Utility/ModuleSetupCode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c b/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c index 51fb75aca0..21c43cb330 100644 --- a/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c +++ b/contrib/tools/cython/Cython/Utility/ModuleSetupCode.c @@ -973,8 +973,10 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj /////////////// MathInitCode /////////////// -#if defined(WIN32) || defined(MS_WINDOWS) - #define _USE_MATH_DEFINES +#if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS) + #if !defined(_USE_MATH_DEFINES) + #define _USE_MATH_DEFINES + #endif #endif #include <math.h> |