[vlc-devel] [PATCH] configure: disable vcd/cdda access for Winstore builds

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 8 16:33:16 CET 2019


DeviceIoControl and all the IOCTL_CDROM_xxx we use are not available
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c878534912e..72296f1d78d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2092,7 +2092,7 @@ AC_ARG_ENABLE([libcddb],
   AS_HELP_STRING([--disable-libcddb],
     [disable CDDB for Audio CD (default enabled)]))
 
-if test "${enable_vcd}" != "no"
+if test "${enable_vcd}" != "no" -a test "${enable_winstore_app}" != "yes"
 then
   AC_MSG_CHECKING(for cdrom_msf0 in linux/cdrom.h)
   AC_EGREP_HEADER(cdrom_msf0,linux/cdrom.h,[
-- 
2.17.1



More information about the vlc-devel mailing list