aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-13 19:43:04 +0100
committerJohannes Schickel2016-03-13 20:44:04 +0100
commit2872c7f9eb3c07dd18c204251a0597a001c0b22c (patch)
tree3a73bb6f16e94419e391848b21539ecfa40e726e
parent045b583141cb0efb0c50aec203fef90a3b912563 (diff)
downloadscummvm-rg350-2872c7f9eb3c07dd18c204251a0597a001c0b22c.tar.gz
scummvm-rg350-2872c7f9eb3c07dd18c204251a0597a001c0b22c.tar.bz2
scummvm-rg350-2872c7f9eb3c07dd18c204251a0597a001c0b22c.zip
WIN32: Fix compilation with MinGW-w64.
-rw-r--r--backends/audiocd/win32/win32-audiocd.cpp8
1 files 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 <winioctl.h>
#include <ntddcdrm.h>
-#else
+#elif defined(__MINGW32__) && !defined(__MINGW64__)
+// Classic MinGW uses non standard paths for DDK headers.
#include <ddk/ntddcdrm.h>
+#else
+#include <winioctl.h>
+#include <ntddcdrm.h>
#endif
class Win32AudioCDStream : public AudioCDStream {