diff --git a/src/sio_socket.cpp b/src/sio_socket.cpp index 34be59bf..db2ebb7c 100644 --- a/src/sio_socket.cpp +++ b/src/sio_socket.cpp @@ -8,7 +8,7 @@ #include #include -#if DEBUG || _DEBUG +#if (DEBUG || _DEBUG) && !defined(SIO_DISABLE_LOGGING) #define LOG(x) std::cout << x #else #define LOG(x)