diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-06-15 14:22:03 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-06-15 14:22:03 +0200 |
commit | 4b058643cd6396b46898380ba7fee5d583e18cfd (patch) | |
tree | a3fc883411b6d6d56b3250d6ce43e0b9096bcefc /config.h.cmake | |
parent | b54a4b7621b4bdcc9846a968e4268ea71e88dab8 (diff) | |
download | mariadb-git-4b058643cd6396b46898380ba7fee5d583e18cfd.tar.gz |
MDEV-4601 : Allow MariaDB to be build without non-blocking client.
Non-blocking client currently can be build on Windows, GCC on i386 and x64, or any OS wth ucontext.h header. Prior to this patch, build failed if neither of these conditions is true.
Fix to avoid compiler errors in these case - non-blocking API would not be useful on , but otherwise everything will work as before.
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index f8fa5093bbf..8c28b997f87 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -291,6 +291,7 @@ #cmakedefine HAVE_THR_YIELD 1 #cmakedefine HAVE_TIME 1 #cmakedefine HAVE_TIMES 1 +#cmakedefine HAVE_UCONTEXT 1 #cmakedefine HAVE_VALLOC 1 #cmakedefine HAVE_VIDATTR 1 #define HAVE_VIO_READ_BUFF 1 |