summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiavashserver <siavashserver@gmail.com>2018-03-09 22:28:02 +0330
committerGitHub <noreply@github.com>2018-03-09 22:28:02 +0330
commitb7461391c6917f0d9b016b62867ef4594a192c8b (patch)
tree68b972cea624621f6d172bd51f7299e8678e2a4f
parentc486d8d0d496f6b366dc827a3d41ed1e9d593ec8 (diff)
downloadpython-numpy-b7461391c6917f0d9b016b62867ef4594a192c8b.tar.gz
python-numpy-b7461391c6917f0d9b016b62867ef4594a192c8b.tar.bz2
python-numpy-b7461391c6917f0d9b016b62867ef4594a192c8b.zip
MAINT: Fixed C++ guard in f2py test.
-rw-r--r--numpy/f2py/src/test/foomodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/src/test/foomodule.c b/numpy/f2py/src/test/foomodule.c
index 10f02f42b..d7ecc2519 100644
--- a/numpy/f2py/src/test/foomodule.c
+++ b/numpy/f2py/src/test/foomodule.c
@@ -5,7 +5,7 @@
* $Revision: 1.2 $
* $Date: 2000/09/17 16:10:27 $
*/
-#ifdef __CPLUSPLUS__
+#ifdef __cplusplus
extern "C" {
#endif
@@ -139,6 +139,6 @@ void initfoo() {
Py_FatalError("can't initialize module foo");
}
-#ifdef __CPLUSCPLUS__
+#ifdef __cplusplus
}
#endif