summaryrefslogtreecommitdiffstats
path: root/examples/ph5_filtered_writes_no_sel.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ph5_filtered_writes_no_sel.c')
-rw-r--r--examples/ph5_filtered_writes_no_sel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ph5_filtered_writes_no_sel.c b/examples/ph5_filtered_writes_no_sel.c
index 14c68c8..2e29838 100644
--- a/examples/ph5_filtered_writes_no_sel.c
+++ b/examples/ph5_filtered_writes_no_sel.c
@@ -43,6 +43,10 @@
#define HDF5_DATATYPE H5T_NATIVE_INT
typedef int C_DATATYPE;
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif
+
/* Global variables */
int mpi_rank, mpi_size;