aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2017-11-27 14:36:06 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-11-27 14:36:06 +0100
commit76f06705be30663cf823170fe66c9560c9d24566 (patch)
treea1af0f5967ac536ad6f98e55c8451758e4162b94 /winsup/cygwin/external.cc
parentbc14f1c17487244f9a3c0fccd3400788635a0d48 (diff)
downloadnewlib-76f06705be30663cf823170fe66c9560c9d24566.zip
newlib-76f06705be30663cf823170fe66c9560c9d24566.tar.gz
newlib-76f06705be30663cf823170fe66c9560c9d24566.tar.bz2
cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__
Address the real offender 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 6aae32a..3a9130e 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -242,7 +242,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
break;
case CW_USER_DATA:
-#ifndef __x86_64__
+#ifdef __i386__
/* This is a kludge to work around a version of _cygwin_common_crt0
which overwrote the cxx_malloc field with the local DLL copy.
Hilarity ensues if the DLL is not loaded like while the process