summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-24 04:12:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-24 04:12:16 (GMT)
commit8b4d774eb9bb95cb3c59f033b43ed9fba340a54a (patch)
tree364b4048a08fb0f54333063c4cf5a52952fdc12a /src/H5private.h
parent3e22f567c4359c464507bf34f3dc97eb00296143 (diff)
downloadhdf5-8b4d774eb9bb95cb3c59f033b43ed9fba340a54a.zip
hdf5-8b4d774eb9bb95cb3c59f033b43ed9fba340a54a.tar.gz
hdf5-8b4d774eb9bb95cb3c59f033b43ed9fba340a54a.tar.bz2
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 */