diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-08-15 14:06:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-08-15 14:06:53 (GMT) |
commit | 8d80bf4a93a2de494e710eb9719483178ad215e8 (patch) | |
tree | 733fc801d4b04608cd57bc5003a52513c193dc4d /perform/pio_engine.c | |
parent | 03a4dd9fc38eba695cb9c169d6879280fc665f3f (diff) | |
download | hdf5-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 'perform/pio_engine.c')
-rw-r--r-- | perform/pio_engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c index 27606d0..129addf 100644 --- a/perform/pio_engine.c +++ b/perform/pio_engine.c @@ -22,7 +22,9 @@ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> +#ifdef H5_HAVE_UNISTD_H #include <unistd.h> +#endif #include <errno.h> #include "hdf5.h" |