diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-11-27 16:36:06 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-11-27 16:36:06 +0300 |
commit | 76f06705be30663cf823170fe66c9560c9d24566 (patch) | |
tree | a1af0f5967ac536ad6f98e55c8451758e4162b94 /winsup/cygwin/globals.cc | |
parent | bc14f1c17487244f9a3c0fccd3400788635a0d48 (diff) |
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/globals.cc')
-rw-r--r-- | winsup/cygwin/globals.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc index 5c5d64ee4..d94a4f844 100644 --- a/winsup/cygwin/globals.cc +++ b/winsup/cygwin/globals.cc @@ -23,10 +23,10 @@ HMODULE NO_COPY hntdll; int NO_COPY sigExeced; WCHAR windows_system_directory[MAX_PATH]; UINT windows_system_directory_length; -#ifndef __x86_64__ +#ifdef __i386__ WCHAR system_wow64_directory[MAX_PATH]; UINT system_wow64_directory_length; -#endif /* !__x86_64__ */ +#endif /* __i386__ */ WCHAR global_progname[NT_MAX_PATH]; /* program exit the program */ @@ -154,7 +154,7 @@ const int __collate_load_error = 0; /* This is an exported copy of environ which can be used by DLLs which use cygwin.dll. */ char **__cygwin_environ; -#ifndef __x86_64__ +#ifdef __i386__ char ***main_environ = &__cygwin_environ; #endif /* __progname used in getopt error message */ @@ -167,7 +167,7 @@ const int __collate_load_error = 0; /* dll_major */ CYGWIN_VERSION_DLL_MAJOR, /* dll_major */ CYGWIN_VERSION_DLL_MINOR, /* impure_ptr_ptr */ NULL, -#ifndef __x86_64__ +#ifdef __i386__ /* envptr */ NULL, #endif /* malloc */ malloc, /* free */ free, |