From 98fc4c4713c7e1f6e2719edb19f2363bd542f27b Mon Sep 17 00:00:00 2001 From: Markus Diem Date: Mon, 22 Nov 2021 10:24:12 +0100 Subject: [PATCH] win: fix build --- easy_profiler_core/include/easy/easy_socket.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/easy_profiler_core/include/easy/easy_socket.h b/easy_profiler_core/include/easy/easy_socket.h index c91a6cb..397316e 100644 --- a/easy_profiler_core/include/easy/easy_socket.h +++ b/easy_profiler_core/include/easy/easy_socket.h @@ -59,7 +59,9 @@ The Apache License, Version 2.0 (the "License"); #else // Windows -# define WIN32_LEAN_AND_MEAN +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif # include # include # include