From 8b854a0c9557858c2efa04b57719f27d5df4f3fe Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 8 Jul 2020 15:51:18 +0100 Subject: [PATCH] Don't use Windows.h in WindowsWrapper.h The need for this was eliminates ages ago, when I remove the WindowsWrapper.h dependencies from the backends (it should only be used by core Cave Story code). This should eliminate any future issues with Windows.h causing name-collisions. --- src/WindowsWrapper.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/WindowsWrapper.h b/src/WindowsWrapper.h index 01e87c96..b78a7a5c 100644 --- a/src/WindowsWrapper.h +++ b/src/WindowsWrapper.h @@ -1,12 +1,5 @@ #pragma once -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#define NODRAWTEXT -#include -#undef FindResource -#else - #define RGB(r,g,b) ((r) | ((g) << 8) | ((b) << 16)) typedef bool BOOL; @@ -21,5 +14,3 @@ struct RECT long right; long bottom; }; - -#endif