Commit 9adb17b9 authored by Brad Smith's avatar Brad Smith Committed by Rémi Denis-Courmont

Set CD_DEVICE and DVD_DEVICE to device names appropriate for OpenBSD.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 925583dc
...@@ -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