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/external.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/external.cc')
-rw-r--r--winsup/cygwin/external.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 74413a88a..f65ac2650 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -449,7 +449,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
res = 0;
break;
case CW_CYGTLS_PADSIZE:
- res = CYGTLS_PADSIZE;
+ res = __CYGTLS_PADSIZE__;
break;
case CW_SET_DOS_FILE_WARNING:
res = 0;