Commit 50c0b02e authored by Martin Ruckert's avatar Martin Ruckert

improving Ctrl-C Handler switching on show_operating_system on second try.

parent 83a86868
......@@ -38,7 +38,7 @@
#define MMIX_GET_INTERRUPT get_interrupt(&new_Q)
/* this code is executed when MMIX enters the handler for Ctrl-C */
#define MMIX_CTRL_HANDLER (cancel_wait(), show_operating_system=true)
#define MMIX_CTRL_HANDLER if (interrupt)(cancel_wait(), show_operating_system=true)
/* this code defines additional command line options */
#define MMIX_OPTIONS \
......@@ -98,6 +98,6 @@
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#undef MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
#undef MMIX_LOAD_LINE_LOC
#endif
......@@ -38,7 +38,7 @@
#define MMIX_GET_INTERRUPT get_interrupt(&new_Q)
/* this code is executed when MMIX enters the handler for Ctrl-C */
#define MMIX_CTRL_HANDLER (cancel_wait(), show_operating_system=true)
#define MMIX_CTRL_HANDLER if (interrupt)(cancel_wait(), show_operating_system=true)
/* this code defines additional command line options */
#define MMIX_OPTIONS \
......
......@@ -38,7 +38,7 @@
#define MMIX_GET_INTERRUPT get_interrupt(&new_Q)
/* this code is executed when MMIX enters the handler for Ctrl-C */
#define MMIX_CTRL_HANDLER (cancel_wait(), show_operating_system=true)
#define MMIX_CTRL_HANDLER if (interrupt)(cancel_wait(), show_operating_system=true)
/* this code defines additional command line options */
#define MMIX_OPTIONS \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment