summaryrefslogtreecommitdiffstats
path: root/byterun/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/unix.c')
-rw-r--r--byterun/unix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index 3fee9a396..491b1e78f 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -321,4 +321,11 @@ int caml_executable_name(char * name, int name_len)
return 0;
}
+#else
+
+int caml_executable_name(char * name, int name_len)
+{
+ return -1;
+}
+
#endif