summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/execvp.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/execvp.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/execvp.c')
-rw-r--r--otherlibs/unix/execvp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/otherlibs/unix/execvp.c b/otherlibs/unix/execvp.c
index 36f7284c5..657184e41 100644
--- a/otherlibs/unix/execvp.c
+++ b/otherlibs/unix/execvp.c
@@ -17,9 +17,11 @@
#include "unixsupport.h"
extern char ** cstringvect();
+#ifndef _WIN32
extern char ** environ;
+#endif
-value unix_execvp(value path, value args) /* ML */
+CAMLprim value unix_execvp(value path, value args)
{
char ** argv;
argv = cstringvect(args);
@@ -30,7 +32,7 @@ value unix_execvp(value path, value args) /* ML */
/* from smart compilers */
}
-value unix_execvpe(value path, value args, value env) /* ML */
+CAMLprim value unix_execvpe(value path, value args, value env)
{
char ** argv;
char ** saved_environ;