diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-07-01 00:43:26 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-07-04 10:27:10 +0200 |
commit | 2a9441d11510cacec5379f9fc478639cf3231b49 (patch) | |
tree | d63b99bd326b5445fe986f7922467326605099af /vio | |
parent | bd4f0dd7b2288ddf2da7d5a187b08ac9960c447d (diff) | |
download | mariadb-git-2a9441d11510cacec5379f9fc478639cf3231b49.tar.gz |
Do not compile socket IO code in WolfSSL
We use own IO callbacks from server code anyway.
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viosocket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c index 6e6d56d8549..9ef703dee8d 100644 --- a/vio/viosocket.c +++ b/vio/viosocket.c @@ -148,6 +148,10 @@ int vio_socket_io_wait(Vio *vio, enum enum_vio_io_event event) #define VIO_DONTWAIT 0 #endif +#ifndef SOCKET_EAGAIN +#define SOCKET_EAGAIN SOCKET_EWOULDBLOCK +#endif + /* returns number of bytes read or -1 in case of an error */ |