summaryrefslogtreecommitdiffstats
path: root/os/netware/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/netware/os.h')
-rw-r--r--os/netware/os.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/os/netware/os.h b/os/netware/os.h
index a38d1c4a1f..b40d9c9833 100644
--- a/os/netware/os.h
+++ b/os/netware/os.h
@@ -65,12 +65,14 @@
#include <screen.h>
+extern int hold_screen_on_exit; /* Indicates whether the screen should be held open on exit*/
+
#define CASE_BLIND_FILESYSTEM
#define NO_WRITEV
#define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */
#define getpid NXThreadGetId
-#define exit(s) if(s){pressanykey();apr_terminate();}exit(s);
+#define exit(s) if(s||hold_screen_on_exit){pressanykey();apr_terminate();}exit(s);
#endif /* ! APACHE_OS_H */