mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[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:
parent
d0a9cf9ffa
commit
4d9397a101
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user