summaryrefslogtreecommitdiff
path: root/numpy/f2py/src/fortranobject.h
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2014-11-16 14:40:35 +0100
committerRalf Gommers <ralf.gommers@googlemail.com>2014-11-16 14:40:35 +0100
commitfff6deee7b44bedd4deb03dd7b5762abe469dba7 (patch)
treea99174db411f46634728d559318185dec4df3d28 /numpy/f2py/src/fortranobject.h
parentf14d5e1e520e9f598abf9881d50d403a24bd258c (diff)
downloadnumpy-fff6deee7b44bedd4deb03dd7b5762abe469dba7.tar.gz
MAINT: change place where NPY_NO_DEPRECATED_API is defined in f2py.
This makes sure to undef at the end, and by putting the define in the C code it ensures that the error message is understandable.
Diffstat (limited to 'numpy/f2py/src/fortranobject.h')
-rw-r--r--numpy/f2py/src/fortranobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/f2py/src/fortranobject.h b/numpy/f2py/src/fortranobject.h
index 2b52f7cb7..c9b54e259 100644
--- a/numpy/f2py/src/fortranobject.h
+++ b/numpy/f2py/src/fortranobject.h
@@ -4,8 +4,6 @@
extern "C" {
#endif
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-
#include "Python.h"
#ifdef FORTRANOBJECT_C