From dcb28f1914bef05f70d1bcadfe98e0c63d6ae205 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 9 Oct 2005 10:18:24 +0000 Subject: Replace unconditional #defines by build system trickery. This reduces our local diff considerably. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16715 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdvdkit2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libmpdvdkit2/Makefile') diff --git a/libmpdvdkit2/Makefile b/libmpdvdkit2/Makefile index 66918b36ef..ec5435e7c6 100644 --- a/libmpdvdkit2/Makefile +++ b/libmpdvdkit2/Makefile @@ -36,7 +36,12 @@ endif # -funroll-loops removed, triggered gcc 3.0.4 (3.x?) bug CFLAGS= -I. $(OPTFLAGS) $(EXTRA_INC)\ -DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE \ - -DHAVE_DVDCSS_DVDCSS_H -DSTDC_HEADERS + -DHAVE_DVDCSS_DVDCSS_H -DSTDC_HEADERS -DHAVE_LIMITS_H \ + -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H \ + +ifeq ($(TARGET_OS),CYGWIN) +CFLAGS+=-DSYS_CYGWIN +endif .c.o: $(CC) $(CFLAGS) -c -o $@ $< -- cgit v1.2.3