From 2872c7f9eb3c07dd18c204251a0597a001c0b22c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 13 Mar 2016 19:43:04 +0100 Subject: WIN32: Fix compilation with MinGW-w64. --- backends/audiocd/win32/win32-audiocd.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/backends/audiocd/win32/win32-audiocd.cpp b/backends/audiocd/win32/win32-audiocd.cpp index 64a7a1b9ec..8037a179a4 100644 --- a/backends/audiocd/win32/win32-audiocd.cpp +++ b/backends/audiocd/win32/win32-audiocd.cpp @@ -61,11 +61,15 @@ #include "common/str.h" #include "common/timer.h" -#ifdef _MSC_VER +#if defined(_MSC_VER) #include #include -#else +#elif defined(__MINGW32__) && !defined(__MINGW64__) +// Classic MinGW uses non standard paths for DDK headers. #include +#else +#include +#include #endif class Win32AudioCDStream : public AudioCDStream { -- cgit v1.2.3