add vcd support to darwin for ppc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13679 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nplourde 2004-10-18 20:30:07 +00:00
parent 5e252f7920
commit d535890b50
2 changed files with 6 additions and 4 deletions

6
configure vendored
View File

@ -4505,7 +4505,7 @@ echores "$_sgiaudio"
echocheck "VCD support"
if linux || bsdos || freebsd || netbsd || sunos ; then
if linux || bsdos || freebsd || netbsd || sunos || (darwin && ppc) ; then
_inputmodules="vcd $_inputmodules"
_def_vcd='#define HAVE_VCD 1'
echores "ok"
@ -6897,8 +6897,8 @@ $_def_vcd
#define DEFAULT_CDROM_DEVICE "D:"
#define DEFAULT_DVD_DEVICE "D:"
#elif defined(SYS_DARWIN)
#define DEFAULT_CDROM_DEVICE "/dev/rdiskN"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#define DEFAULT_CDROM_DEVICE "/dev/disk1"
#define DEFAULT_DVD_DEVICE "/dev/rdiskN"
#elif defined(__OpenBSD__)
#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE

View File

@ -18,7 +18,9 @@
#include <sys/cdrio.h>
#include "vcd_read_fbsd.h"
#elif defined(__NetBSD__) || defined (__OpenBSD__)
#include "vcd_read_nbsd.h"
#include "vcd_read_nbsd.h"
#elif defined(MACOSX)
#include "vcd_read_macosx.h"
#else
#include "vcd_read.h"
#endif