fix build option issues; refine cmake
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#include "webcc/socket.h"
|
||||
|
||||
#ifdef WEBCC_ENABLE_SSL
|
||||
#if WEBCC_ENABLE_SSL
|
||||
#if (defined(_WIN32) || defined(_WIN64))
|
||||
|
||||
#include <windows.h>
|
||||
@@ -75,7 +75,7 @@ bool Socket::Close() {
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#ifdef WEBCC_ENABLE_SSL
|
||||
#if WEBCC_ENABLE_SSL
|
||||
|
||||
#if (defined(_WIN32) || defined(_WIN64))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user