summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hutchinson <qyot27@gmail.com>2013-04-02 04:39:12 -0400
committerwm4 <wm4@nowhere>2013-04-06 00:00:16 +0200
commitb224f37174728d564a27bc945cd38d5d1a231042 (patch)
treeb8951f58d5a2bfbec23d0233aab42ec197e09f0d
parent4e55a6e828e4234fafe00e56573b24897380dcb1 (diff)
downloadmpv-b224f37174728d564a27bc945cd38d5d1a231042.tar.bz2
mpv-b224f37174728d564a27bc945cd38d5d1a231042.tar.xz
vcd_read_win32.h: fix compilation on MinGW-w64
ntddcdrm.h is no longer under the 'ddk' directory in MinGW-w64, and since MPV focuses on it instead of the old MinGW32, there's no reason to keep that dir prefix, as it stops VCD support from being built at all for Windows.
-rwxr-xr-xconfigure2
-rw-r--r--stream/vcd_read_win32.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index af53b91902..2f0a182fea 100755
--- a/configure
+++ b/configure
@@ -2452,7 +2452,7 @@ if test "$_vcd" = auto; then
if linux || freebsd || netbsd || openbsd || dragonfly || darwin ; then
_vcd=yes
elif mingw32; then
- header_check ddk/ntddcdrm.h && _vcd=yes
+ header_check ntddcdrm.h && _vcd=yes
fi
fi
if test "$_vcd" = yes; then
diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h
index 30679d707e..59570881f0 100644
--- a/stream/vcd_read_win32.h
+++ b/stream/vcd_read_win32.h
@@ -22,7 +22,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
-#include <ddk/ntddcdrm.h>
+#include <ntddcdrm.h>
#include "core/mp_msg.h"
typedef struct mp_vcd_priv_st mp_vcd_priv_t;