X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fglobals.h;h=60480a7cc75563a93ef7a8e0a85a8c5108d90982;hb=22a6702974b7d6ff4e8f2b3b7b5ff446fc632de0;hp=4ffd653fc9fa4261afcf22482c361c0b9782a458;hpb=3a0f3612dc2bbf3e4e8e7395bcbbf8cd1791b963;p=sbcl.git diff --git a/src/runtime/globals.h b/src/runtime/globals.h index 4ffd653..60480a7 100644 --- a/src/runtime/globals.h +++ b/src/runtime/globals.h @@ -24,6 +24,13 @@ extern int foreign_function_call_active; extern boolean stop_the_world; +#ifdef LISP_FEATURE_WIN32 +#define ENVIRON _environ +#else +#define ENVIRON environ +#endif +extern char **ENVIRON; + #if defined(LISP_FEATURE_SB_THREAD) extern pthread_key_t specials; #endif