diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-11 23:52:55 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-11 23:52:55 +0000 |
commit | a6cf8a908c4fc0667dce1bdfaf5bbadc82dc1051 (patch) | |
tree | 69d6107560bb486413860e453e05ede417ef7788 /stream/stream_dvd.c | |
parent | d1198fab82e6c63983ae720ce6fc865596a4b3c5 (diff) | |
download | mpv-a6cf8a908c4fc0667dce1bdfaf5bbadc82dc1051.tar.bz2 mpv-a6cf8a908c4fc0667dce1bdfaf5bbadc82dc1051.tar.xz |
Replace SYS_DARWIN by __APPLE__ and __DARWIN__ where appropriate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25370 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r-- | stream/stream_dvd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 2f2a3e6dd7..4ce7aa6ee1 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -768,7 +768,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { */ if(!dvd_device) dvd_device=strdup(DEFAULT_DVD_DEVICE); dvd_set_speed(dvd_device, dvd_speed); -#ifdef SYS_DARWIN +#if defined(__APPLE__) || defined(__DARWIN__) /* Dynamic DVD drive selection on Darwin */ if(!strcmp(dvd_device, "/dev/rdiskN")) { int i; @@ -800,7 +800,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { return STREAM_UNSUPPORTED; } } else -#endif /* SYS_DARWIN */ +#endif /* defined(__APPLE__) || defined(__DARWIN__) */ { dvd = DVDOpen(dvd_device); if(!dvd) { |