From 05fb5cf106ad47df77e56ae3660ac4275810d54c Mon Sep 17 00:00:00 2001 From: Clownacy Date: Fri, 13 Mar 2020 22:01:02 +0000 Subject: [PATCH] Fix build error with MinGW --- src/Organya.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Organya.cpp b/src/Organya.cpp index 341c039c..bbcc52a2 100644 --- a/src/Organya.cpp +++ b/src/Organya.cpp @@ -23,9 +23,11 @@ #include "Sound.h" // Visual Studio 6 is missing this +#ifdef _MSC_VER #ifndef DWORD_PTR #define DWORD_PTR DWORD #endif +#endif #define PANDUMMY 0xFF #define VOLDUMMY 0xFF