diff options
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/mysql_async.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql-common/mysql_async.c b/sql-common/mysql_async.c index 8f3a91e26fa..ef01f292180 100644 --- a/sql-common/mysql_async.c +++ b/sql-common/mysql_async.c @@ -121,6 +121,12 @@ my_connect_async(struct mysql_async_context *b, my_socket fd, IF_WIN(WSAGetLastError() != WSAEWOULDBLOCK, \ (errno != EAGAIN && errno != EINTR)) +#ifdef _AIX +#ifndef MSG_DONTWAIT +#define MSG_DONTWAIT 0 +#endif +#endif + ssize_t my_recv_async(struct mysql_async_context *b, int fd, unsigned char *buf, size_t size, int timeout) |