mirror of https://github.com/FreeRDP/FreeRDP
fix build with mingw 7
This commit is contained in:
parent
c90074d10c
commit
310f2047bf
|
@ -484,15 +484,13 @@ typedef SecPkgCredentials_NamesW* PSecPkgCredentials_NamesW;
|
||||||
|
|
||||||
#endif /* !defined(_WIN32) || defined(_UWP) */
|
#endif /* !defined(_WIN32) || defined(_UWP) */
|
||||||
|
|
||||||
#if !defined(_WIN32) || defined(_UWP)
|
#if !defined(_WIN32) || defined(_UWP) || (defined(__MINGW32__) && (__MINGW64_VERSION_MAJOR < 8))
|
||||||
#if !defined(__MINGW32__)
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
UINT32 BindingsLength;
|
UINT32 BindingsLength;
|
||||||
SEC_CHANNEL_BINDINGS* Bindings;
|
SEC_CHANNEL_BINDINGS* Bindings;
|
||||||
} SecPkgContext_Bindings;
|
} SecPkgContext_Bindings;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/* InitializeSecurityContext Flags */
|
/* InitializeSecurityContext Flags */
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include <winpr/collections.h>
|
#include <winpr/collections.h>
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#if (_WIN32_WINNT < _WIN32_WINNT_WIN6)
|
#if (_WIN32_WINNT < _WIN32_WINNT_WIN6) || defined(__MINGW32__)
|
||||||
struct _TP_CALLBACK_INSTANCE
|
struct _TP_CALLBACK_INSTANCE
|
||||||
{
|
{
|
||||||
PTP_WORK Work;
|
PTP_WORK Work;
|
||||||
|
|
Loading…
Reference in New Issue