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:
parent
4e55a6e828
commit
b224f37174
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user