mirror of
https://github.com/apache/httpd.git
synced 2025-08-20 16:09:55 +00:00
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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user