[PSDK] Fix GCC8 complaining on duplicate and wrong declarations

This commit is contained in:
Victor Perevertkin 2019-08-17 23:08:22 +03:00
parent 1c0a2a35e7
commit bda22774a7
3 changed files with 29 additions and 23 deletions

View file

@ -21,7 +21,7 @@ extern "C" {
#ifdef _WS2DEF_
extern CONST UCHAR sockaddr_size[AF_MAX];
const UCHAR sockaddr_size[AF_MAX];
MSWSOCKDEF_INLINE
UCHAR
@ -53,7 +53,7 @@ typedef enum _WSA_COMPATIBILITY_BEHAVIOR_ID {
typedef struct _WSA_COMPATIBILITY_MODE {
WSA_COMPATIBILITY_BEHAVIOR_ID BehaviorId;
ULONG TargetOsVersion;
} WSA_COMPATIBILITY_MODE, *PWSA_COMPATIBILITY_MODE;
} WSA_COMPATIBILITY_MODE, *PWSA_COMPATIBILITY_MODE;
#endif /* (_WIN32_WINNT>=0x0600) */