From 413bd66ce79be762ddcf6d6cb6a251347605b5c9 Mon Sep 17 00:00:00 2001 From: water Date: Tue, 8 Sep 2020 19:46:40 -0400 Subject: [PATCH] fix windows min/max macro issue --- goalc/listener/Listener.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/goalc/listener/Listener.cpp b/goalc/listener/Listener.cpp index c3d8be0a4b..a8aec4bc62 100644 --- a/goalc/listener/Listener.cpp +++ b/goalc/listener/Listener.cpp @@ -14,6 +14,10 @@ #define WIN32_LEAN_AND_MEAN #include #include + +// remove the evil windows min/max macros! +#undef min +#undef max #endif // TODO - i think im not including the dependency right..?