summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-04-03 15:48:56 +0300
committerMichael Widenius <monty@askmonty.org>2012-04-03 15:48:56 +0300
commitbea887e6636860bfc0f4dd965173ac72d6cfef0c (patch)
tree8fdb8a375a65d73b2e4b43e3874d8e3df9237ffa /configure.cmake
parent97a3baef7bda7ac6a50f272a1f248b42f586b9f4 (diff)
downloadmariadb-git-bea887e6636860bfc0f4dd965173ac72d6cfef0c.tar.gz
Define dummy my_init_stacktrace() to allow one to call it without #ifdef HAVE_STACKTRACE
Fixed compilation problem on windows. configure.cmake: Added test for pthread_attr_getguardsize include/my_stacktrace.h: Define dummy my_init_stacktrace() to allow one to call it without #ifdef HAVE_STACKTRACE sql/mysqld.cc: Move my_setstacksize() to fix compilation problem on windows Don't disable core on signal just becasue platform doesn't handle stack trace
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 88ae46cbcb6..e635a770b41 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -397,6 +397,7 @@ CHECK_FUNCTION_EXISTS (pread HAVE_PREAD)
CHECK_FUNCTION_EXISTS (pthread_attr_create HAVE_PTHREAD_ATTR_CREATE)
CHECK_FUNCTION_EXISTS (pthread_attr_getstacksize HAVE_PTHREAD_ATTR_GETSTACKSIZE)
CHECK_FUNCTION_EXISTS (pthread_attr_setscope HAVE_PTHREAD_ATTR_SETSCOPE)
+CHECK_FUNCTION_EXISTS (pthread_attr_getguardsize HAVE_PTHREAD_ATTR_GETGUARDSIZE)
CHECK_FUNCTION_EXISTS (pthread_attr_setstacksize HAVE_PTHREAD_ATTR_SETSTACKSIZE)
CHECK_FUNCTION_EXISTS (pthread_condattr_create HAVE_PTHREAD_CONDATTR_CREATE)
CHECK_FUNCTION_EXISTS (pthread_condattr_setclock HAVE_PTHREAD_CONDATTR_SETCLOCK)