diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-13 19:55:45 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-13 19:55:45 +0000 |
commit | bd14af629c1604bf16bd3f2f782cee9c6b069e9e (patch) | |
tree | a8ac7fc7f3f6a7d528e0683a94d0b0db3ca8bc55 /libmpdvdkit2/Makefile | |
parent | d90f7c9b4e65c48b07d7f36e9ebbfa2be3ef3453 (diff) |
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 >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17188 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdvdkit2/Makefile')
-rw-r--r-- | libmpdvdkit2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdvdkit2/Makefile b/libmpdvdkit2/Makefile index ec5435e7c6..5ac6e0ad13 100644 --- a/libmpdvdkit2/Makefile +++ b/libmpdvdkit2/Makefile @@ -43,6 +43,10 @@ ifeq ($(TARGET_OS),CYGWIN) CFLAGS+=-DSYS_CYGWIN endif +ifeq ($(TARGET_OS),Darwin) +CFLAGS+=-D__DARWIN__ +endif + .c.o: $(CC) $(CFLAGS) -c -o $@ $< |