diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2001-07-03 14:49:03 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2001-07-03 14:49:03 (GMT) |
commit | f9f0de7aa0529a0467e79b4521013328fab1e3e7 (patch) | |
tree | 83e73aec2d76e64e158ae3de0fbfc138a0dcef08 /src/H5FDstdio.c | |
parent | f72cb07b0ac15e511de8c735f02713fb815079e9 (diff) | |
download | hdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.zip hdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.tar.gz hdf5-f9f0de7aa0529a0467e79b4521013328fab1e3e7.tar.bz2 |
[svn-r4099]
Purpose:
Code Cleanup
Description:
Updating CodeWarrior Port
Solution:
Move around some Windows and Metroworks ifdefs, etc.
Platforms tested:
Solaris 2.7 (arabica) Linux 2.2 (eirene)
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r-- | src/H5FDstdio.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index c852208..0aa6fe7 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -16,16 +16,23 @@ #include "hdf5.h" +#ifdef H5_HAVE_STDIO_H +#include <stdio.h> +#endif #ifdef H5_HAVE_UNISTD_H #include <unistd.h> #endif #ifdef WIN32 -#include <windows.h> +#if !defined(_68K_) && !defined(_MPPC_) && !defined(_PPC_) && !defined(_ALPHA_) && !defined(_MIPS_) && !defined(_X86_) && defined(_M_IX86) +#define _X86_ +#endif +#include <windef.h> +#include <winbase.h> + #include <io.h> -#endif /*kent yang 6/21/2001, must be added for defination of open,write.... - also the defination of longlong is valid, will investigate this to - make sure int64 can replace longlong. Otherwise, keep windows.h*/ + +#endif #ifdef MAX #undef MAX |