diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-03 15:48:20 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 2000-05-03 15:48:20 (GMT) |
commit | ae5c998516c2235ef1334c76718109506dcc480c (patch) | |
tree | 19b8caf1371f1a3e53e0809caf9b24cb3cd2d731 /tools/h5repart.c | |
parent | 043b7c4ec58fc06cc42cb62aec7741deb807c996 (diff) | |
download | hdf5-ae5c998516c2235ef1334c76718109506dcc480c.zip hdf5-ae5c998516c2235ef1334c76718109506dcc480c.tar.gz hdf5-ae5c998516c2235ef1334c76718109506dcc480c.tar.bz2 |
[svn-r2211] took the development branch code and moved it into the release. had to add some
conditional compile statements in the code to compile for the release.
defined a VERSION12 and VERSION13 macro. all changes were surrounded by these statements
Diffstat (limited to 'tools/h5repart.c')
-rw-r--r-- | tools/h5repart.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/h5repart.c b/tools/h5repart.c index 6704f38..74acb26 100644 --- a/tools/h5repart.c +++ b/tools/h5repart.c @@ -14,6 +14,7 @@ /* See H5private.h for how to include system headers */ #include <hdf5.h> +#include <h5tools.h> #ifdef H5_STDC_HEADERS # include <ctype.h> # include <errno.h> @@ -21,16 +22,33 @@ # include <stdio.h> # include <stdlib.h> # include <string.h> +#elif defined STDC_HEADERS +# include <ctype.h> +# include <errno.h> +# include <fcntl.h> +# include <stdio.h> +# include <stdlib.h> +# include <string.h> #endif #ifdef H5_HAVE_UNISTD_H # include <sys/types.h> # include <unistd.h> +#elif defined HAVE_UNISTD_H +# include <sys/types.h> +# include <unistd.h> #endif + +#if defined VERSION12 +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#elif defined VERSION13 #ifdef H5_HAVE_SYS_STAT_H # include <sys/stat.h> #endif +#endif #ifndef FALSE #define FALSE 0 |