Commit 05f9a4ce authored by Brad Smith's avatar Brad Smith Committed by Jean-Baptiste Kempf

Set CD_DEVICE and DVD_DEVICE to device names appropriate for OpenBSD.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 9adb17b9449595217b9e9a4c7e3c0c4bd8f2c1e3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2e488ae5
...@@ -80,8 +80,13 @@ ...@@ -80,8 +80,13 @@
/* DVD and VCD devices */ /* DVD and VCD devices */
#if !defined( WIN32 ) && !defined( UNDER_CE ) #if !defined( WIN32 ) && !defined( UNDER_CE )
#if defined(__OpenBSD__)
# define CD_DEVICE "/dev/cd0c"
# define DVD_DEVICE "/dev/cd0c"
#else
# define CD_DEVICE "/dev/cdrom" # define CD_DEVICE "/dev/cdrom"
# define DVD_DEVICE "/dev/dvd" # define DVD_DEVICE "/dev/dvd"
#endif
#else #else
# define CD_DEVICE "D:" # define CD_DEVICE "D:"
# define DVD_DEVICE NULL # define DVD_DEVICE NULL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment