8291511: Redefinition of EXIT_FAILURE in libw2k_lsa_auth

Reviewed-by: weijun
This commit is contained in:
Julian Waters 2022-08-15 16:27:45 +00:00 committed by Weijun Wang
parent 3a090777ba
commit b00eedeb02

@ -48,7 +48,6 @@
#undef LSA_SUCCESS
#define LSA_SUCCESS(Status) ((Status) >= 0)
#define EXIT_FAILURE -1 // mdu
/*
* Library-wide static references
@ -823,6 +822,7 @@ ShowLastError(
if (native_debug) {
if (0 == dwRes) {
printf("LSA: FormatMessage failed with %d\n", GetLastError());
// #define EXIT_FAILURE -1 // mdu
// ExitProcess(EXIT_FAILURE);
} else {
printf("LSA: %S",szMsgBuf);