summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-28 08:44:07 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-28 08:44:07 (GMT)
commit15a1bce9a26b15313029410e23be6d706ad0c207 (patch)
treec1273efdea4408021624bdbae23d9789fd5a5787 /src/H5private.h
parent38d3834c54ee1dfa7366ae1c581909f0cf7fa000 (diff)
parent8b4d774eb9bb95cb3c59f033b43ed9fba340a54a (diff)
downloadhdf5-15a1bce9a26b15313029410e23be6d706ad0c207.zip
hdf5-15a1bce9a26b15313029410e23be6d706ad0c207.tar.gz
hdf5-15a1bce9a26b15313029410e23be6d706ad0c207.tar.bz2
Merge pull request #2304 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:isnan_fixes to develop
* commit '8b4d774eb9bb95cb3c59f033b43ed9fba340a54a': Replaced my_isnan with C99 isnan in h5diff.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index fbea9b8..e4d2e08 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1010,6 +1010,9 @@ typedef off_t h5_stat_size_t;
#ifndef HDislower
#define HDislower(C) islower((int)(C)) /*cast for solaris warning*/
#endif /* HDislower */
+#ifndef HDisnan
+ #define HDisnan(X) isnan(X)
+#endif /* HDisnan */
#ifndef HDisprint
#define HDisprint(C) isprint((int)(C)) /*cast for solaris warning*/
#endif /* HDisprint */