diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-05 02:26:56 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-05 02:26:56 +0000 |
commit | 460fac74621a6de84f8a66c1dbb164049c9c498b (patch) | |
tree | d079ba1b222de14ed0b4d590e13ae5719c3ff898 /mplayer.c | |
parent | 72cfe9c77c1b0c5b26e941fdc33c2dfa9ce33129 (diff) | |
download | mpv-460fac74621a6de84f8a66c1dbb164049c9c498b.tar.bz2 mpv-460fac74621a6de84f8a66c1dbb164049c9c498b.tar.xz |
Solaris 8 support - patch by Marcus Comstedt <marcus@idonex.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1021 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,7 +16,11 @@ #include <sys/time.h> #include <sys/stat.h> #include <fcntl.h> +#ifdef __sun +#include <sys/audioio.h> +#else #include <sys/soundcard.h> +#endif #include "version.h" #include "config.h" @@ -501,7 +505,11 @@ int f; // filedes #endif if(!filename){ +#ifdef __sun + if(vcd_track) filename="/vol/dev/aliases/cdrom0"; +#else if(vcd_track) filename="/dev/cdrom"; +#endif else { printf("%s",help_text); exit(0); } |