diff options
Diffstat (limited to 'otherlibs/unix/envir.c')
-rw-r--r-- | otherlibs/unix/envir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/otherlibs/unix/envir.c b/otherlibs/unix/envir.c index a25263c1c..a9d36e96a 100644 --- a/otherlibs/unix/envir.c +++ b/otherlibs/unix/envir.c @@ -15,9 +15,11 @@ #include <mlvalues.h> #include <alloc.h> +#ifndef _WIN32 extern char ** environ; +#endif -value unix_environment(void) /* ML */ +CAMLprim value unix_environment(void) { return copy_string_array((const char**)environ); } |