summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/testphdf5.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index d6cf99f..e67de35 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -6,9 +6,9 @@
#include "testphdf5.h"
-#ifndef FILENAME_MAX
-#define FILENAME_MAX 512
-#endif
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif /* !PATH_MAX */
/* global variables */
int dim0 = DIM0;
@@ -32,11 +32,9 @@ const char *FILENAME[5]={
"ParaEg3",
"ParaMdset",
NULL};
-char filenames[5][FILENAME_MAX];
+char filenames[5][PATH_MAX];
hid_t fapl; /* file access property list */
-
-
#ifdef USE_PAUSE
/* pause the process for a moment to allow debugger to attach if desired. */
/* Will pause more if greenlight file is not persent but will eventually */