Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce2a880

Browse files
committed
Revert "Enable the use of c99 macros in c++"
This reverts commit 3818675.
1 parent d7c478b commit ce2a880

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

setupext.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -898,11 +898,6 @@ def add_flags(self, ext):
898898
ext.define_macros.append(('NPY_NO_DEPRECATED_API',
899899
'NPY_1_7_API_VERSION'))
900900

901-
# Allow the numpy NPY_INTP_FMT macro to be used in C++.
902-
# On gcc this translates to PRIdPTR which needs
903-
# __STDC_FORMAT_MACROS to be usable in c++
904-
ext.define_macros.append(('__STDC_FORMAT_MACROS', 1))
905-
906901
def get_setup_requires(self):
907902
return ['numpy>=1.6']
908903

0 commit comments

Comments
 (0)