diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2000-04-07 16:15:34 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2000-04-07 16:15:34 +0000 |
commit | c546d3683d01c70fcd737d46bb280aae91bd9aa3 (patch) | |
tree | 0f4dd1234a32da1d69fe86357f2f72af0e81e863 /maccaml/main.c | |
parent | d3c45d93f083cf7d30b54f682f0fcf6141d9ae58 (diff) |
MacOS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'maccaml/main.c')
-rw-r--r-- | maccaml/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/maccaml/main.c b/maccaml/main.c index cef02288d..9f545efd7 100644 --- a/maccaml/main.c +++ b/maccaml/main.c @@ -116,7 +116,10 @@ int main (void) quit_requested = 1; exit (0); } - while (!launch_toplevel_requested) GetAndProcessEvents (waitEvent, 0, 0); + while (!launch_toplevel_requested){ + GetAndProcessEvents (waitEvent, 0, 0); + if (quit_requested) exit (0); + } err = launch_caml_main (); if (err != noErr) ErrorAlertGeneric (err); exit (0); |