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