summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-21 19:11:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-21 19:11:46 (GMT)
commit9a4ac501c1bd1f27bde1fc2acbc67bed74ff38ff (patch)
treea17e787f48fa4ed47a59f11ac887a367dd93800d /tools
parent8fd2eb8287adb11d70ff04483ecdd741e487133b (diff)
downloadhdf5-9a4ac501c1bd1f27bde1fc2acbc67bed74ff38ff.zip
hdf5-9a4ac501c1bd1f27bde1fc2acbc67bed74ff38ff.tar.gz
hdf5-9a4ac501c1bd1f27bde1fc2acbc67bed74ff38ff.tar.bz2
Add defines 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 df3bf54..f088c93 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 63dc7b0..83dffa2 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