diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-06-27 18:20:51 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2017-07-20 15:40:48 +0200 |
commit | 52efb4dfb9810bbb749185f24916a43331abc817 (patch) | |
tree | 0a98eadeed8050d534845edea6c1bff6c7fa0e71 /tools | |
parent | e61ccdcf8d30b2d9998ba4851ea7691114977b57 (diff) |
Avoid using unsupported signals under Windows in fake_ide.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/fake_ide.ml | 2 |
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 |