mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
qb: Fix the CDROM check.
This improves the CDROM check. Fixes https://github.com/libretro/RetroArch/issues/9096
This commit is contained in:
parent
89a8202dc5
commit
76e130a988
@ -137,12 +137,12 @@ check_lib '' THREADS "$PTHREADLIB" pthread_create
|
||||
check_enabled THREADS THREAD_STORAGE 'Thread Local Storage' 'Threads are' false
|
||||
check_lib '' THREAD_STORAGE "$PTHREADLIB" pthread_key_create
|
||||
|
||||
if [ "$HAVE_NO_CDROM" = "" ]; then
|
||||
if [ "$OS" = 'Win32' ] || [ "$OS" = 'Linux' ]; then
|
||||
HAVE_CDROM=yes
|
||||
fi
|
||||
if [ "$OS" = 'Linux' ]; then
|
||||
check_header CDROM stropts.h scsi/sg.h
|
||||
fi
|
||||
|
||||
check_platform 'Linux Win32' CDROM 'CD-ROM is' user
|
||||
|
||||
if [ "$OS" = 'Win32' ]; then
|
||||
HAVE_DYLIB=yes
|
||||
else
|
||||
|
@ -144,4 +144,4 @@ HAVE_VIDEOPROCESSOR=auto # Enable video processor core
|
||||
HAVE_VIDEOCORE=auto # Broadcom Videocore 4 support
|
||||
HAVE_DRMINGW=no # DrMingw exception handler
|
||||
HAVE_EASTEREGG=yes # Easter egg
|
||||
HAVE_CDROM=no
|
||||
HAVE_CDROM=auto # CD-ROM support
|
||||
|
Loading…
x
Reference in New Issue
Block a user