aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-06-27 18:20:51 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2017-07-20 15:40:48 +0200
commit52efb4dfb9810bbb749185f24916a43331abc817 (patch)
tree0a98eadeed8050d534845edea6c1bff6c7fa0e71 /tools
parente61ccdcf8d30b2d9998ba4851ea7691114977b57 (diff)
Avoid using unsupported signals under Windows in fake_ide.
Diffstat (limited to 'tools')
-rw-r--r--tools/fake_ide.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fake_ide.ml b/tools/fake_ide.ml
index c0d2e4d6b..271846124 100644
--- a/tools/fake_ide.ml
+++ b/tools/fake_ide.ml
@@ -293,7 +293,7 @@ let usage () =
module Coqide = Spawn.Sync(struct end)
let main =
- Sys.set_signal Sys.sigpipe
+ if Sys.os_type = "Unix" then Sys.set_signal Sys.sigpipe
(Sys.Signal_handle
(fun _ -> prerr_endline "Broken Pipe (coqtop died ?)"; exit 1));
let def_args = ["--xml_format=Ppcmds"; "-ideslave"] in