Alexandre Julliard : ntdll: Define PTHREAD_STACK_MIN if it's missing.

Alexandre Julliard julliard at winehq.org
Thu Dec 14 15:31:53 CST 2017


Module: wine
Branch: master
Commit: 6eab1e93f34075477df323ad6f5f0f97815fbc50
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6eab1e93f34075477df323ad6f5f0f97815fbc50

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Dec 14 20:28:32 2017 +0100

ntdll: Define PTHREAD_STACK_MIN if it's missing.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/thread.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 6abfd85..479b8d6 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -48,6 +48,10 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(thread);
 
+#ifndef PTHREAD_STACK_MIN
+#define PTHREAD_STACK_MIN 16384
+#endif
+
 struct _KUSER_SHARED_DATA *user_shared_data = NULL;
 
 PUNHANDLED_EXCEPTION_FILTER unhandled_exception_filter = NULL;




More information about the wine-cvs mailing list