diff --git a/include/triton/common/logging.h b/include/triton/common/logging.h index e415cd0..42e5c44 100644 --- a/include/triton/common/logging.h +++ b/include/triton/common/logging.h @@ -36,9 +36,11 @@ #include "table_printer.h" #ifdef _WIN32 +// exclude winsock apis +#define WIN32_LEAN_AND_MEAN // suppress the min and max definitions in Windef.h. #define NOMINMAX -#include +#include #else #include #include