lean and mean windows fix
This commit is contained in:
parent
46b0b2d370
commit
0254194e20
@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
|
|
||||||
#if defined(USE_WINDOWS_API)
|
#if defined(USE_WINDOWS_API)
|
||||||
#define _WIN32_WINNT 0x0400
|
#ifndef _WIN32_WINNT
|
||||||
|
#define _WIN32_WINNT 0x0400
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <wincrypt.h>
|
#include <wincrypt.h>
|
||||||
#else
|
#else
|
||||||
|
@ -50,6 +50,10 @@
|
|||||||
#ifdef CYASSL_GAME_BUILD
|
#ifdef CYASSL_GAME_BUILD
|
||||||
#include "system/xtl.h"
|
#include "system/xtl.h"
|
||||||
#else
|
#else
|
||||||
|
#if defined(_WIN32_WCE) || defined(WIN32_LEAN_AND_MEAN)
|
||||||
|
/* On WinCE winsock2.h must be included before windows.h */
|
||||||
|
#include <winsock2.h>
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
#elif defined(THREADX)
|
#elif defined(THREADX)
|
||||||
|
Loading…
Reference in New Issue
Block a user