summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-21 19:10:47 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-21 19:10:47 (GMT)
commitcd1bc7efa9ddf4679f75218381ad2ea8877ea549 (patch)
tree04bd608823daf4f1c1cd218d5da51ff04b76a5b9 /tools
parent828e9681b434fde2165400f84e82373c7cb4ab34 (diff)
downloadhdf5-cd1bc7efa9ddf4679f75218381ad2ea8877ea549.zip
hdf5-cd1bc7efa9ddf4679f75218381ad2ea8877ea549.tar.gz
hdf5-cd1bc7efa9ddf4679f75218381ad2ea8877ea549.tar.bz2
Add defines that are missing on OSX
Diffstat (limited to 'tools')
-rw-r--r--tools/perform/pio_standalone.h5
-rw-r--r--tools/perform/sio_standalone.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/perform/pio_standalone.h b/tools/perform/pio_standalone.h
index be51a93..ee523ed 100644
--- a/tools/perform/pio_standalone.h
+++ b/tools/perform/pio_standalone.h
@@ -56,6 +56,11 @@
#define F_OK 0 /* Test for existence. */
#else /* H5_HAVE_WIN32_API */
#define HDaccess(F,M) access(F, M)
+#ifndef F_OK
+#define F_OK 00
+#define W_OK 02
+#define R_OK 04
+#endif
#endif /* H5_HAVE_WIN32_API */
#define HDacos(X) acos(X)
#ifdef H5_HAVE_ALARM
diff --git a/tools/perform/sio_standalone.h b/tools/perform/sio_standalone.h
index ea9dc26..6d6afe9 100644
--- a/tools/perform/sio_standalone.h
+++ b/tools/perform/sio_standalone.h
@@ -78,6 +78,11 @@
#define F_OK 0 /* Test for existence. */
#else /* H5_HAVE_WIN32_API */
#define HDaccess(F,M) access(F, M)
+#ifndef F_OK
+#define F_OK 00
+#define W_OK 02
+#define R_OK 04
+#endif
#endif /* H5_HAVE_WIN32_API */
#define HDacos(X) acos(X)
#ifdef H5_HAVE_ALARM