mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r4046]
Purpose: bug fix for windows MVS Description: adding various windows macros to make it work on windows platform Solution: see above Platforms tested: test on windows 2000, confirmed on linux.
This commit is contained in:
parent
f7641df1c0
commit
61b948ad23
@ -20,6 +20,13 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.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*/
|
||||
|
||||
#ifdef MAX
|
||||
#undef MAX
|
||||
#endif /* MAX */
|
||||
|
@ -30,6 +30,9 @@ static const char *FileHeader = "\n\
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#undef NDEBUG
|
||||
#ifdef WIN32
|
||||
#include "winsock2.h"
|
||||
#endif /*kent yang 6/21/2001, make sure to put this before H5private.h*/
|
||||
#include "H5private.h"
|
||||
|
||||
#define MAXDETECT 64
|
||||
|
@ -148,6 +148,7 @@
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <IO.h> /* kent yang 6/18/2001*/
|
||||
|
||||
/* H5_inline */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user