[svn-r13872] WinXP x64 does not define the error code EWOULDBLOCK, but instead uses its own WSAEWOULDBLOCK. Although the stream vfd isn't supported on Windows, this was requested by a user via bug #890. This won't affect any other platforms, but should help, should we ever decide to support stream vfd on Windows.

Tested:
kagiso, linew, smirom (via h5committest)
NOT tested on Windows, as it is unsupported.
This commit is contained in:
Scott Wegner 2007-06-18 12:11:56 -05:00
parent d0a9cf9ffa
commit 4d9397a101

View File

@ -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