int -> ssize_t for socker recv and send
This commit is contained in:
		@@ -36,7 +36,6 @@ set( IXWEBSOCKET_HEADERS
 | 
			
		||||
    ixwebsocket/IXSetThreadName.h
 | 
			
		||||
    ixwebsocket/IXDNSLookup.h
 | 
			
		||||
    ixwebsocket/IXCancellationRequest.h
 | 
			
		||||
    ixwebsocket/IXNetSystem.h
 | 
			
		||||
    ixwebsocket/IXWebSocket.h
 | 
			
		||||
    ixwebsocket/IXWebSocketServer.h
 | 
			
		||||
    ixwebsocket/IXWebSocketTransport.h
 | 
			
		||||
@@ -58,6 +57,8 @@ else()
 | 
			
		||||
    list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/linux/IXSetThreadName_linux.cpp)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
set (OPENSSL_PREFIX /usr/local/opt/openssl) # Homebrew openssl
 | 
			
		||||
include_directories(ixwebsocket ${OPENSSL_PREFIX}/include)
 | 
			
		||||
 | 
			
		||||
if (USE_TLS)
 | 
			
		||||
    add_definitions(-DIXWEBSOCKET_USE_TLS)
 | 
			
		||||
@@ -65,6 +66,8 @@ if (USE_TLS)
 | 
			
		||||
    if (APPLE)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketAppleSSL.h)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketAppleSSL.cpp)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketOpenSSL.h)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketOpenSSL.cpp)
 | 
			
		||||
    elseif (WIN32)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketSChannel.h)
 | 
			
		||||
        list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketSChannel.cpp)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user