summaryrefslogtreecommitdiff
path: root/numpy/f2py/src/fortranobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/src/fortranobject.h')
-rw-r--r--numpy/f2py/src/fortranobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/f2py/src/fortranobject.h b/numpy/f2py/src/fortranobject.h
index c9b54e259..2b52f7cb7 100644
--- a/numpy/f2py/src/fortranobject.h
+++ b/numpy/f2py/src/fortranobject.h
@@ -4,6 +4,8 @@
extern "C" {
#endif
+#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
+
#include "Python.h"
#ifdef FORTRANOBJECT_C