forked from wolfSSL/wolfssl
Merge pull request #703 from JacobBarthelmeh/SGX
wolfcrypt only build with Windows
This commit is contained in:
@ -38,14 +38,14 @@
|
|||||||
#ifndef WIN32_LEAN_AND_MEAN
|
#ifndef WIN32_LEAN_AND_MEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
#ifndef WOLFCRYPT_ONLY
|
#ifndef WOLFSSL_SGX
|
||||||
#if defined(_WIN32_WCE) || defined(WIN32_LEAN_AND_MEAN)
|
#if defined(_WIN32_WCE) || defined(WIN32_LEAN_AND_MEAN)
|
||||||
/* On WinCE winsock2.h must be included before windows.h */
|
/* On WinCE winsock2.h must be included before windows.h */
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#endif
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
#endif /* WOLFCRYPT_ONLY */
|
#endif /* WOLFSSL_SGX */
|
||||||
#elif defined(THREADX)
|
#elif defined(THREADX)
|
||||||
#ifndef SINGLE_THREADED
|
#ifndef SINGLE_THREADED
|
||||||
#include "tx_api.h"
|
#include "tx_api.h"
|
||||||
|
Reference in New Issue
Block a user