summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/envir.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
commitddd99c7e5d2f0f8e7364e8521fa7e8308999344e (patch)
tree3c0158d035a52c0cf185c08c3288c3c76d6718d0 /otherlibs/unix/envir.c
parentc345611817d76ccc3bbd02db1f942774220739f9 (diff)
Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/envir.c')
-rw-r--r--otherlibs/unix/envir.c4
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);
}