aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.cvsignore1
-rw-r--r--scripts/coqc.ml (renamed from scripts/coqc.ml4)2
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/.cvsignore b/scripts/.cvsignore
index ee865a568..b95eb1ba9 100644
--- a/scripts/.cvsignore
+++ b/scripts/.cvsignore
@@ -1,4 +1,3 @@
coqmktop
tolink.ml
coqc
-coqc.ml
diff --git a/scripts/coqc.ml4 b/scripts/coqc.ml
index 5500903a9..baf86982b 100644
--- a/scripts/coqc.ml4
+++ b/scripts/coqc.ml
@@ -68,7 +68,7 @@ let compile command args file =
command :: "-batch" :: "-silent" :: args
@ ["-load-vernac-source"; tmpfile] in
let devnull =
- ifdef Unix then
+ if Sys.os_type = "Unix" then
Unix.openfile "/dev/null" [] 0o777
else
Unix.stdin