|
@@ -22,8 +22,12 @@
|
|
|
|
|
|
#include <assert.h>
|
|
#include <assert.h>
|
|
#ifdef MS_WINDOWS /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
|
|
#ifdef MS_WINDOWS /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
|
|
|
|
+ #ifndef WIN32_WINNT
|
|
#define WIN32_WINNT 0x400
|
|
#define WIN32_WINNT 0x400
|
|
|
|
+ #endif
|
|
|
|
+ #ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x400
|
|
#define _WIN32_WINNT 0x400
|
|
|
|
+ #endif
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#if defined(_MSC_VER) && (_MSC_VER < 1300)
|
|
#if defined(_MSC_VER) && (_MSC_VER < 1300)
|
|
#include <winsock.h>
|
|
#include <winsock.h>
|