diff --git a/wolfssl/wolfio.h b/wolfssl/wolfio.h index 934c282010..576e8f4675 100644 --- a/wolfssl/wolfio.h +++ b/wolfssl/wolfio.h @@ -416,7 +416,7 @@ #endif #endif #ifndef XSOCKOPT_TYPE_OPTVAL_TYPE - #ifdef USE_WINDOWS_API + #ifndef USE_WINDOWS_API #define XSOCKOPT_TYPE_OPTVAL_TYPE void* #else #define XSOCKOPT_TYPE_OPTVAL_TYPE char*