fix build with mingw 7

This commit is contained in:
David Fort 2022-02-22 11:15:42 +01:00 committed by akallabeth
parent c90074d10c
commit 310f2047bf
2 changed files with 2 additions and 4 deletions

View File

@ -484,15 +484,13 @@ typedef SecPkgCredentials_NamesW* PSecPkgCredentials_NamesW;
#endif /* !defined(_WIN32) || defined(_UWP) */
#if !defined(_WIN32) || defined(_UWP)
#if !defined(__MINGW32__)
#if !defined(_WIN32) || defined(_UWP) || (defined(__MINGW32__) && (__MINGW64_VERSION_MAJOR < 8))
typedef struct
{
UINT32 BindingsLength;
SEC_CHANNEL_BINDINGS* Bindings;
} SecPkgContext_Bindings;
#endif
#endif
/* InitializeSecurityContext Flags */

View File

@ -27,7 +27,7 @@
#include <winpr/collections.h>
#if defined(_WIN32)
#if (_WIN32_WINNT < _WIN32_WINNT_WIN6)
#if (_WIN32_WINNT < _WIN32_WINNT_WIN6) || defined(__MINGW32__)
struct _TP_CALLBACK_INSTANCE
{
PTP_WORK Work;