diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-02-04 13:48:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-02-04 14:02:36 +0100 |
commit | 9fdb340e64920cfaf006c8a7042f3ca0373d1d63 (patch) | |
tree | f7a7b8f5d68c175115a32f8daa811e57e078e0a0 /stdlib/test-atexit-race-common.c | |
parent | 09e56b9e18f987105e39768f907db800e9330930 (diff) | |
download | glibc-9fdb340e64920cfaf006c8a7042f3ca0373d1d63.tar.gz glibc-9fdb340e64920cfaf006c8a7042f3ca0373d1d63.tar.xz glibc-9fdb340e64920cfaf006c8a7042f3ca0373d1d63.zip |
hurd: Fix build
* stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do not check against PTHREAD_STACK_MIN.
Diffstat (limited to 'stdlib/test-atexit-race-common.c')
-rw-r--r-- | stdlib/test-atexit-race-common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stdlib/test-atexit-race-common.c b/stdlib/test-atexit-race-common.c index 8adf1330bf..63bde390b4 100644 --- a/stdlib/test-atexit-race-common.c +++ b/stdlib/test-atexit-race-common.c @@ -39,7 +39,10 @@ const size_t kNumThreads = 1024; const size_t kNumHandlers = 1024; const size_t kStacksize = - 0x20000 < PTHREAD_STACK_MIN ? PTHREAD_STACK_MIN : 0x20000; +#ifdef PTHREAD_STACK_MIN + 0x20000 < PTHREAD_STACK_MIN ? PTHREAD_STACK_MIN : +#endif + 0x20000; static void * threadfunc (void *unused) |