diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-07-01 00:43:26 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-07-28 13:45:34 +0200 |
commit | 1c27eb7ebd2c95008ba9b4fdfdee40615ca2f803 (patch) | |
tree | e8d0cb5f81deeebe7b863418c757a9a321d531db /vio | |
parent | f61a98068695994bcfddc1146e7744f50296f9b9 (diff) | |
download | mariadb-git-1c27eb7ebd2c95008ba9b4fdfdee40615ca2f803.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 */ |