changeset 17187:e2b0c2841643

libdvdread configure script defines __DARWIN__ on darwin to trigger the definition of SYS_BSD in dvd_reader.c. hint by Emanuele Giaquinta < emanuele . . . giaquinta . @ . gmail . . . com >
author diego
date Tue, 13 Dec 2005 19:55:45 +0000
parents db14e1c61001
children ad0147f764d1
files libmpdvdkit2/Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/Makefile	Tue Dec 13 17:01:07 2005 +0000
+++ b/libmpdvdkit2/Makefile	Tue Dec 13 19:55:45 2005 +0000
@@ -43,6 +43,10 @@
 CFLAGS+=-DSYS_CYGWIN
 endif
 
+ifeq ($(TARGET_OS),Darwin)
+CFLAGS+=-D__DARWIN__
+endif
+
 .c.o:
 	$(CC) $(CFLAGS) -c -o $@ $<