From af55f9fcdbda12e2e67a8be1d34ea1a753116346 Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 24 Jan 2024 20:34:18 +0100 Subject: [PATCH] Fix unity build compilation on Windows --- src/Nazara/Core/AntiWindows.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nazara/Core/AntiWindows.hpp b/src/Nazara/Core/AntiWindows.hpp index ae0c4b971..a333ca4a5 100644 --- a/src/Nazara/Core/AntiWindows.hpp +++ b/src/Nazara/Core/AntiWindows.hpp @@ -8,5 +8,6 @@ #error This header should only be included after including windows.h directly or indirectly in a .cpp #endif +#undef CreateWindow #undef MemoryBarrier #undef RemoveDirectory