From 82ecd7ca4725dfd7d5a6002edf8146a06e520050 Mon Sep 17 00:00:00 2001 From: Renato Machado Date: Mon, 13 Nov 2023 23:22:18 -0300 Subject: [PATCH] fix #623 --- src/framework/platform/win32platform.cpp | 8 +++++--- src/framework/platform/win32window.cpp | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/framework/platform/win32platform.cpp b/src/framework/platform/win32platform.cpp index b592a214f8..f40b19cd4a 100644 --- a/src/framework/platform/win32platform.cpp +++ b/src/framework/platform/win32platform.cpp @@ -22,11 +22,13 @@ #ifdef WIN32 -#include +#include "platform.h" + #include #include - -#include "platform.h" +#ifdef NDEBUG +#include +#endif void Platform::init(std::vector& args) { diff --git a/src/framework/platform/win32window.cpp b/src/framework/platform/win32window.cpp index 2ab34dbf26..f7b6a29a94 100644 --- a/src/framework/platform/win32window.cpp +++ b/src/framework/platform/win32window.cpp @@ -22,15 +22,17 @@ #ifdef WIN32 -#include #include "win32window.h" #include #include #include #include - #include +#ifdef NDEBUG +#include +#endif + #define HSB_BIT_SET(p, n) (p[(n)/8] |= (128 >>((n)%8))) WIN32Window::WIN32Window()