From 6f850702d06f30adfa2f30e15a1a912b3e6acd24 Mon Sep 17 00:00:00 2001 From: Roberto Scolaro Date: Fri, 5 Jan 2024 15:51:36 +0000 Subject: [PATCH] wip Signed-off-by: Roberto Scolaro --- userspace/libsinsp/utils.cpp | 1 + userspace/plugin/plugin_loader.c | 1 + 2 files changed, 2 insertions(+) diff --git a/userspace/libsinsp/utils.cpp b/userspace/libsinsp/utils.cpp index 162ec45a37a..6c4d9e16058 100644 --- a/userspace/libsinsp/utils.cpp +++ b/userspace/libsinsp/utils.cpp @@ -1020,6 +1020,7 @@ time_t get_epoch_utc_seconds_now() #ifdef _WIN32 #include +#define NOMINMAX #include const __int64 DELTA_EPOCH_IN_MICROSECS = 11644473600000000; diff --git a/userspace/plugin/plugin_loader.c b/userspace/plugin/plugin_loader.c index 9401c4186bc..43c03d80049 100644 --- a/userspace/plugin/plugin_loader.c +++ b/userspace/plugin/plugin_loader.c @@ -17,6 +17,7 @@ limitations under the License. */ #ifdef _WIN32 + #define NOMINMAX #include typedef HINSTANCE library_handle_t; #else