Avoid calling the real exit() function when the macro exit() is called outside of

a code block.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bradley Nicholes
2002-09-03 22:00:36 +00:00
parent 3934829912
commit 0071d5f8ed

View File

@ -73,6 +73,6 @@ extern int hold_screen_on_exit; /* Indicates whether the screen should be held o
#define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */
#define getpid NXThreadGetId
#define exit(s) if(s||hold_screen_on_exit){pressanykey();apr_terminate();}exit(s);
#define exit(s) {if(s||hold_screen_on_exit){pressanykey();}apr_terminate();exit(s);}
#endif /* ! APACHE_OS_H */