EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() will
take care of returning if necessary.
This commit is contained in:
parent
0bd71d3b7e
commit
d3a28e8b8d
2
e_os.h
2
e_os.h
@ -250,7 +250,7 @@ extern "C" {
|
|||||||
# define EXIT(n) _wsetexit(_WINEXITNOPERSIST)
|
# define EXIT(n) _wsetexit(_WINEXITNOPERSIST)
|
||||||
# define OPENSSL_EXIT(n) do { if (n == 0) EXIT(n); return(n); } while(0)
|
# define OPENSSL_EXIT(n) do { if (n == 0) EXIT(n); return(n); } while(0)
|
||||||
# else
|
# else
|
||||||
# define EXIT(n) return(n)
|
# define EXIT(n) exit(n)
|
||||||
# endif
|
# endif
|
||||||
# define LIST_SEPARATOR_CHAR ';'
|
# define LIST_SEPARATOR_CHAR ';'
|
||||||
# ifndef X_OK
|
# ifndef X_OK
|
||||||
|
Loading…
Reference in New Issue
Block a user