update
This commit is contained in:
parent
b56230fc42
commit
18f353cba6
@ -20,7 +20,7 @@ if (USE_SQLITE3)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
set (CMAKE_BUILD_TYPE "Release")
|
||||
set (CMAKE_BUILD_TYPE Release)
|
||||
|
||||
option (USE_32BITS "Build 32Bits application?" OFF)
|
||||
if (USE_32BITS)
|
||||
@ -34,9 +34,7 @@ else ()
|
||||
message (STATUS "Using 64Bits Platform")
|
||||
add_definitions(-DNOPOLL_64BIT_PLATFORM)
|
||||
endif (USE_32BITS)
|
||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
SET (CMAKE_BUILD_TYPE "Debug")
|
||||
endif ()
|
||||
|
||||
if (CMAKE_BUILD_TYPE AND (CMAKE_BUILD_TYPE STREQUAL "Debug"))
|
||||
add_compile_options ("-O0")
|
||||
add_compile_options ("-Wall")
|
||||
|
1
das-dn/third_party/AdsLib/Sockets.cpp
vendored
1
das-dn/third_party/AdsLib/Sockets.cpp
vendored
@ -153,7 +153,6 @@ Socket::Socket(const struct addrinfo* const host, const int type) :
|
||||
|
||||
Socket::~Socket()
|
||||
{
|
||||
LOG_ERROR("destroy socket\n");
|
||||
Shutdown();
|
||||
// closesocket(m_Socket);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user