From a2008ff663af06f4cf08a20438e2638231a8252b Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 8 Sep 2025 17:08:01 +0200 Subject: [PATCH] Add windows workaround to constids.inc --- kernel/constids.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kernel/constids.inc b/kernel/constids.inc index d75f0a784..7aed897e1 100644 --- a/kernel/constids.inc +++ b/kernel/constids.inc @@ -5,6 +5,15 @@ #undef OVERFLOW #endif +// Workaround for windows defining IN and OUT macros in minwindef.h which ends +// up getting included for visual studio builds +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + X($_ALDFFE_NNN_) X($_ALDFFE_NNP_) X($_ALDFFE_NPN_)