From 6a32252403781b303d4ebd195932ce39c5b1c08e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 30 Jul 2019 16:03:58 +0200 Subject: Update to 5.43 --- utils/thread_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/thread_util.c') diff --git a/utils/thread_util.c b/utils/thread_util.c index 5ad5d47..71c8633 100644 --- a/utils/thread_util.c +++ b/utils/thread_util.c @@ -960,7 +960,7 @@ void *io_thread_create(struct io_thread *self, void *parent, void *(*start_routi attr_ptr = &attr; if(pthread_attr_init(&attr)) return NULL; -# if defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || defined _XOPEN_SOURCE +# if (defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || defined _XOPEN_SOURCE) && !defined __GNU__ /* PTHREAD_STACK_MIN needs the above test. */ assert(stacksize >= PTHREAD_STACK_MIN); # endif -- cgit v1.2.3-55-g7522