shithub: cstory

Download patch

ref: 8b854a0c9557858c2efa04b57719f27d5df4f3fe
parent: 565c79a4ce4235baed5cf7d4f062b1f52237ed28
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jul 8 11:51:18 EDT 2020

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.

--- a/src/WindowsWrapper.h
+++ b/src/WindowsWrapper.h
@@ -1,12 +1,5 @@
 #pragma once
 
-#ifdef _WIN32
-#define WIN32_LEAN_AND_MEAN
-#define NODRAWTEXT
-#include <windows.h>
-#undef FindResource
-#else
-
 #define RGB(r,g,b) ((r) | ((g) << 8) | ((b) << 16))
 
 typedef bool BOOL;
@@ -21,5 +14,3 @@
 	long right;
 	long bottom;
 };
-
-#endif