diff options
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, |