summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-08-15 14:06:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-08-15 14:06:53 (GMT)
commit8d80bf4a93a2de494e710eb9719483178ad215e8 (patch)
tree733fc801d4b04608cd57bc5003a52513c193dc4d /testpar/t_cache.c
parent03a4dd9fc38eba695cb9c169d6879280fc665f3f (diff)
downloadhdf5-8d80bf4a93a2de494e710eb9719483178ad215e8.zip
hdf5-8d80bf4a93a2de494e710eb9719483178ad215e8.tar.gz
hdf5-8d80bf4a93a2de494e710eb9719483178ad215e8.tar.bz2
[svn-r21228] Added #ifdefs around #include unistd.h and created windows getlogin() function for building HDF5 parallel on windows.
Reviewed and tested locally and tested by user.
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 3c626d3..8f193cd 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -49,6 +49,9 @@ hid_t noblock_dxpl_id=(-1);
#define NFILENAME 2
#define PARATESTFILE filenames[0]
const char *FILENAME[NFILENAME]={"CacheTestDummy", NULL};
+#ifndef PATH_MAX
+#define PATH_MAX 512
+#endif /* !PATH_MAX */
char filenames[NFILENAME][PATH_MAX];
hid_t fapl; /* file access property list */