diff options
Diffstat (limited to 'winsup/cygwin/environ.h')
-rw-r--r-- | winsup/cygwin/environ.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/environ.h b/winsup/cygwin/environ.h index 888c36625..b2d65c8bd 100644 --- a/winsup/cygwin/environ.h +++ b/winsup/cygwin/environ.h @@ -35,10 +35,16 @@ struct win_env win_env * __reg3 getwinenv (const char *name, const char *posix = NULL, win_env * = NULL); char * __reg3 getwinenveq (const char *name, size_t len, int); +#ifdef __x86_64__ +#define update_envptrs() +extern "C" char **__cygwin_environ; +#define cur_environ() __cygwin_environ +#else void __stdcall update_envptrs (); extern "C" char **__cygwin_environ, ***main_environ; extern "C" char __stdcall **cur_environ (); +#endif char ** __reg3 build_env (const char * const *envp, PWCHAR &envblock, - int &envc, bool need_envblock); + int &envc, bool need_envblock); #define ENV_CVT -1 |