diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-11-26 22:52:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 22:52:58 +0000 |
commit | b66d03dfc4958d159c5dc3ddc9075f8bcc47f9c5 (patch) | |
tree | 20de40da360faf216e6075791e8dc33e4fd88e9c /numpy/core | |
parent | af4b110273346e5969fba04365bc477747529fe2 (diff) | |
parent | 2dac5ae6be9a4246665306cfebb999d7498c049b (diff) | |
download | numpy-b66d03dfc4958d159c5dc3ddc9075f8bcc47f9c5.tar.gz |
Merge pull request #17655 from pitmanst/zos.build
BLD: Fix installing Numpy on z/OS
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/src/common/npy_config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/core/src/common/npy_config.h b/numpy/core/src/common/npy_config.h index 27328aa73..61cc3c7f1 100644 --- a/numpy/core/src/common/npy_config.h +++ b/numpy/core/src/common/npy_config.h @@ -19,6 +19,15 @@ #endif +/* Disable broken functions on z/OS */ +#if defined (__MVS__) + +#undef HAVE_POWF +#undef HAVE_EXPF +#undef HAVE___THREAD + +#endif + /* Disable broken MS math functions */ #if (defined(_MSC_VER) && (_MSC_VER < 1900)) || defined(__MINGW32_VERSION) |