summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-06-18 19:41:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-06-18 19:41:03 (GMT)
commite4e86174dcc0385e44342f0b9566b15444503912 (patch)
tree834173eb550a4abd793a04aeb30983b65125b3a6
parent00f39b23c11ce989351125496381cdcc4c54b16f (diff)
downloadhdf5-e4e86174dcc0385e44342f0b9566b15444503912.zip
hdf5-e4e86174dcc0385e44342f0b9566b15444503912.tar.gz
hdf5-e4e86174dcc0385e44342f0b9566b15444503912.tar.bz2
HDFFV-11111 correct ifdef logic
-rw-r--r--java/src/jni/h5pFCPLImp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5pFCPLImp.c b/java/src/jni/h5pFCPLImp.c
index e056fa8..0223e12 100644
--- a/java/src/jni/h5pFCPLImp.c
+++ b/java/src/jni/h5pFCPLImp.c
@@ -40,7 +40,7 @@ JNIEXPORT jint JNICALL
Java_hdf_hdf5lib_H5_H5Pget_1version
(JNIEnv *env, jclass clss, jlong plist, jintArray version_info)
{
-#ifdef H5_NO_DEPRECATED_SYMBOLS
+#ifndef H5_NO_DEPRECATED_SYMBOLS
jboolean isCopy;
jsize arrLen;
jint *theArray = NULL;
@@ -72,7 +72,7 @@ Java_hdf_hdf5lib_H5_H5Pget_1version
#endif
done:
-#ifdef H5_NO_DEPRECATED_SYMBOLS
+#ifndef H5_NO_DEPRECATED_SYMBOLS
if (theArray)
UNPIN_INT_ARRAY(ENVONLY, version_info, theArray, (status < 0) ? JNI_ABORT : 0);
#endif