summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-09-04 13:33:59 +0200
committerSergei Golubchik <serg@mariadb.org>2016-09-12 17:51:48 +0200
commit4ba198c6e3c7ccf4da2a87c14043bb3be08915f7 (patch)
tree6f0694f8aa839fada0a1eefc4b9c710b6fbf540d /include/my_pthread.h
parent365f199d2ffea83f53c0a97779f5a3ec1a21b05e (diff)
downloadmariadb-git-4ba198c6e3c7ccf4da2a87c14043bb3be08915f7.tar.gz
compiler warning
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 0d0e5d51bac..bf61a024390 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -266,7 +266,7 @@ struct tm *gmtime_r(const time_t *clock, struct tm *res);
#undef pthread_detach_this_thread
#define pthread_detach_this_thread() { pthread_t tmp=pthread_self() ; pthread_detach(&tmp); }
#else /* HAVE_PTHREAD_ATTR_CREATE && !HAVE_SIGWAIT */
-#define HAVE_PTHREAD_KILL
+#define HAVE_PTHREAD_KILL 1
#endif
#endif /* defined(__WIN__) */