12 lines
520 B
Diff
12 lines
520 B
Diff
--- numpy-1.17.0/numpy/core/setup.py.orig 2019-08-03 12:29:51.332524800 +0300
|
|
+++ numpy-1.17.0/numpy/core/setup.py 2019-08-03 12:31:17.294441500 +0300
|
|
@@ -387,7 +387,7 @@
|
|
"""Return the define value to use for NPY_VISIBILITY_HIDDEN (may be empty
|
|
string)."""
|
|
hide = '__attribute__((visibility("hidden")))'
|
|
- if config.check_gcc_function_attribute(hide, 'hideme'):
|
|
+ if config.check_gcc_function_attribute(hide, 'hideme') and sys.platform != "win32":
|
|
return hide
|
|
else:
|
|
return ''
|