Merge pull request #5992 from alexpilotti/fix_build

Fix stable-1.1 build on Windows
This commit is contained in:
Bernhard Miklautz 2020-03-27 00:41:29 +01:00 committed by GitHub
commit 33d9497253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -38,6 +38,9 @@
#define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS)0xC0000234L)
#define STATUS_ACCOUNT_EXPIRED ((NTSTATUS)0xC0000193L)
#define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS)0xC000015BL)
#else
#include <wincred.h>
#endif
#endif /* WINPR_NT_H */

View File

@ -1171,6 +1171,8 @@ SecurityFunctionTableW SSPI_SecurityFunctionTableW =
SetContextAttributes, /* SetContextAttributes */
};
#endif
const char* GetSecurityStatusString(SECURITY_STATUS status)
{
switch (status)
@ -1430,5 +1432,3 @@ const char* GetSecurityStatusString(SECURITY_STATUS status)
return "SEC_E_UNKNOWN";
}
#endif