Merge pull request #5992 from alexpilotti/fix_build
Fix stable-1.1 build on Windows
This commit is contained in:
commit
33d9497253
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user