1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

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.
This commit is contained in:
Stephen Hutchinson 2013-04-02 04:39:12 -04:00 committed by wm4
parent 4e55a6e828
commit b224f37174
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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;