diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-28 18:45:02 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-28 18:45:02 +0000 |
commit | 3574c0e67d1f5e65a3c51d7d7ccb852199bd16f6 (patch) | |
tree | 194f23c5b92ef1015c29b31e8bef29ed10749a6d /libdha | |
parent | d406fe97436036cb5093c994a0d8f1693df024f9 (diff) | |
download | mpv-3574c0e67d1f5e65a3c51d7d7ccb852199bd16f6.tar.bz2 mpv-3574c0e67d1f5e65a3c51d7d7ccb852199bd16f6.tar.xz |
in solaris the I/O device to mmap() is /dev/xsvc, not /dev/mem
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22835 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r-- | libdha/libdha.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdha/libdha.c b/libdha/libdha.c index 328df4d87a..35a9ecf4e3 100644 --- a/libdha/libdha.c +++ b/libdha/libdha.c @@ -48,6 +48,8 @@ # undef DEV_MEM # define DEV_MEM "/dev/mem" # endif +#elif defined(sun) && defined (i386) +#define DEV_MEM "/dev/xsvc" # endif /* SVR4 */ #if defined(__OpenBSD__) |