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 /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 'cmake')
-rw-r--r-- | cmake/os/WindowsCache.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/os/WindowsCache.cmake b/cmake/os/WindowsCache.cmake index 83ea3b0f3b3..2a6fb5ae31f 100644 --- a/cmake/os/WindowsCache.cmake +++ b/cmake/os/WindowsCache.cmake @@ -368,4 +368,6 @@ SET(HAVE_EVENT_H CACHE INTERNAL "") SET(HAVE_LINUX_UNISTD_H CACHE INTERNAL "") SET(HAVE_SYS_UTSNAME_H CACHE INTERNAL "") SET(HAVE_PTHREAD_ATTR_GETGUARDSIZE CACHE INTERNAL "") +SET(HAVE_UCONTEXT_H CACHE INTERNAL "") +SET(HAVE_SOCKPEERCRED CACHE INTERNAL "") ENDIF() |