diff options
-rw-r--r-- | src/H5FDstream.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c index 06eaaaf..82828ac 100644 --- a/src/H5FDstream.c +++ b/src/H5FDstream.c @@ -66,6 +66,16 @@ #endif #endif +/* + * WinXP x64 does not define EWOULDBLOCK, but instead uses + * their own Windows-specific macro, so define it here. + */ + #ifdef _WIN32 + #ifndef EWOULDBLOCK + #define EWOULDBLOCK WSAEWOULDBLOCK + #endif /* EWOULDBLOCK */ + #endif /* _WIN32 */ + #ifndef H5_HAVE_SOCKLEN_T typedef int socklen_t; #endif |