Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-01-27 14:39:57 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-05-13 14:58:39 +0300
commitd4fa3b4abbf70a586034771267be8e4c1690a023 (patch)
tree6c32b49a22b6ebf936cb7b4e0d970f413bc84d19 /winsup/cygwin/cygtls.cc
parent2aa37fed76ea644bfb4bcc348aceec9f19777195 (diff)
Cygwin: config.h: stop including auto-generated tlsoffsets.h file
This was a hack to begin with. Clean this mess up: - Move definition of CYGTLS_PADSIZE to cygwin/config.h and drop local cygtls_padsize.h - Rename CYGTLS_PADSIZE to __CYGTLS_PADSIZE__ to keep namespace clean. Redefine as macro, rather than as const. - Move struct _reent first in struct _cygtls to allow using __CYGTLS_PADSIZE__ as offset in __getreent(). Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/cygtls.cc')
-rw-r--r--winsup/cygwin/cygtls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc
index 4b6a85d10..c0ee645e0 100644
--- a/winsup/cygwin/cygtls.cc
+++ b/winsup/cygwin/cygtls.cc
@@ -20,7 +20,7 @@ details. */
void
_cygtls::call (DWORD (*func) (void *, void *), void *arg)
{
- char buf[CYGTLS_PADSIZE];
+ char buf[__CYGTLS_PADSIZE__];
/* Initialize this thread's ability to respond to things like
SIGSEGV or SIGFPE. */
exception protect;