refine the usage of build options

This commit is contained in:
Chunting Gu
2021-02-01 09:23:53 +08:00
parent 233aa5910c
commit 1b8b0b24ac
19 changed files with 48 additions and 45 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#include "webcc/socket.h"
#if WEBCC_ENABLE_SSL
#ifdef WEBCC_ENABLE_SSL
#if (defined(_WIN32) || defined(_WIN64))
#include <windows.h>
@@ -75,7 +75,7 @@ bool Socket::Close() {
// -----------------------------------------------------------------------------
#if WEBCC_ENABLE_SSL
#ifdef WEBCC_ENABLE_SSL
#if (defined(_WIN32) || defined(_WIN64))