summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-11 23:52:55 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-11 23:52:55 +0000
commita6cf8a908c4fc0667dce1bdfaf5bbadc82dc1051 (patch)
tree69d6107560bb486413860e453e05ede417ef7788 /stream/stream_dvd.c
parentd1198fab82e6c63983ae720ce6fc865596a4b3c5 (diff)
downloadmpv-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.c4
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) {