summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygtls.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 9253683ea..f11c65b7e 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -28,6 +28,8 @@ details. */
# define UNLEN 256
#endif
+#define TLS_STACK_SIZE 1024
+
#pragma pack(push,4)
struct _local_storage
{
@@ -107,7 +109,7 @@ struct _threadinfo
struct _threadinfo *prev, *next;
__stack_t *stackptr;
int sig;
- __stack_t stack[1024];
+ __stack_t stack[TLS_STACK_SIZE];
/*gentls_offsets*/
static CRITICAL_SECTION protect_linked_list;