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:
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r--winsup/cygwin/init.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index 7787b164c..ab20ce577 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -92,8 +92,8 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
initialized to NULL, so subsequent calls to locale-specific functions
will always fall back to __global_locale, rather then crash due to
_REENT->_locale having an arbitrary value. */
- alloca_dummy = alloca (CYGTLS_PADSIZE);
- ZeroMemory (alloca_dummy, CYGTLS_PADSIZE);
+ alloca_dummy = alloca (__CYGTLS_PADSIZE__);
+ ZeroMemory (alloca_dummy, __CYGTLS_PADSIZE__);
memcpy (_REENT, _GLOBAL_REENT, sizeof (struct _reent));
dll_crt0_0 ();