From 40dc9fcbbec8c0820768901ac8f8d8ef09b49dd4 Mon Sep 17 00:00:00 2001 From: Mateusz Hoppe Date: Mon, 26 Feb 2024 09:22:24 +0100 Subject: [PATCH] Fix Windows build - define NOMINMAX - prevents min/max macro conflict with std::min.max Signed-off-by: Mateusz Hoppe --- utils/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/utils.h b/utils/utils.h index d5a0448..bd3f26c 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -8,6 +8,7 @@ #define PTI_UTILS_UTILS_H_ #if defined(_WIN32) +#define NOMINMAX #include #else #include