diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2014-02-27 19:44:00 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2014-02-27 19:44:00 +0400 |
commit | 57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6 (patch) | |
tree | 8d61425ec6fed1b66faa46c1ad7ac1bc080df71e /sql-common/mysql_async.c | |
parent | 11826b1bcfc2280e36a72c1516443c9b400edec2 (diff) | |
download | mariadb-git-57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6.tar.gz |
Fixing AIX compilation failires
Diffstat (limited to 'sql-common/mysql_async.c')
-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) |