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 /plugin/handler_socket | |
parent | 11826b1bcfc2280e36a72c1516443c9b400edec2 (diff) | |
download | mariadb-git-57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6.tar.gz |
Fixing AIX compilation failires
Diffstat (limited to 'plugin/handler_socket')
-rw-r--r-- | plugin/handler_socket/libhsclient/auto_file.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/handler_socket/libhsclient/auto_file.hpp b/plugin/handler_socket/libhsclient/auto_file.hpp index 841351e54cd..03c357f4d4e 100644 --- a/plugin/handler_socket/libhsclient/auto_file.hpp +++ b/plugin/handler_socket/libhsclient/auto_file.hpp @@ -9,6 +9,11 @@ #ifndef DENA_AUTO_FILE_HPP #define DENA_AUTO_FILE_HPP +/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */ +#if defined(_AIX) && defined(_LARGE_FILE_API) +#undef _LARGE_FILE_API +#endif + #include <unistd.h> #include <sys/types.h> #include <dirent.h> |