win tls wip

This commit is contained in:
Benjamin Sergeant
2018-10-09 14:43:25 -07:00
parent 739a43988c
commit f7b87be65b
3 changed files with 9 additions and 3 deletions

View File

@@ -14,12 +14,11 @@
#ifdef IXWEBSOCKET_USE_TLS
# ifdef __APPLE__
# include "IXSocketAppleSSL.h"
# else
# elif defined(__linux__)
# include "IXSocketOpenSSL.h"
# endif
#endif
// #include <unistd.h>
#include <string.h>
#include <stdlib.h>
@@ -145,7 +144,7 @@ namespace ix {
#ifdef IXWEBSOCKET_USE_TLS
# ifdef __APPLE__
_socket = std::make_shared<SocketAppleSSL>();
# else
# elif defined(__linux__)
_socket = std::make_shared<SocketOpenSSL>();
# endif
#else