summaryrefslogtreecommitdiffstats
path: root/source/n/ntp/ntp.glibc-2.34.diff
blob: 2f0dd2914ad287139697e4a4b47fa9efc92b44dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./libntp/work_thread.c.orig	2018-08-14 06:51:06.000000000 -0500
+++ ./libntp/work_thread.c	2022-02-12 21:55:02.381012379 -0600
@@ -41,7 +41,7 @@
 #ifndef THREAD_MINSTACKSIZE
 # define THREAD_MINSTACKSIZE	(64U * 1024)
 #endif
-#ifndef __sun
+#if !defined(__sun) && !defined(__GLIBC__)
 #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
 # undef THREAD_MINSTACKSIZE
 # define THREAD_MINSTACKSIZE PTHREAD_STACK_MIN