diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index db8d1ee43..ce5f72249 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -38,14 +38,14 @@ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif - #ifndef WOLFCRYPT_ONLY + #ifndef WOLFSSL_SGX #if defined(_WIN32_WCE) || defined(WIN32_LEAN_AND_MEAN) /* On WinCE winsock2.h must be included before windows.h */ #include #endif #include #endif - #endif /* WOLFCRYPT_ONLY */ + #endif /* WOLFSSL_SGX */ #elif defined(THREADX) #ifndef SINGLE_THREADED #include "tx_api.h"