summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-19 00:03:00 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-19 00:03:00 +0000
commit8c3f78b90d9a0723952825d9082e1fff31005010 (patch)
treeb2b8533dfb799bcd6b1e0e329fb8c4291d624a53
parent7054aa378dc673dff64411eafe776ca92093cb64 (diff)
downloadmpv-8c3f78b90d9a0723952825d9082e1fff31005010.tar.bz2
mpv-8c3f78b90d9a0723952825d9082e1fff31005010.tar.xz
Move setting Cygwin specific CFLAGS to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22739 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure2
-rw-r--r--libdvdcss/Makefile4
2 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 517fc98a9a..7809436f5c 100755
--- a/configure
+++ b/configure
@@ -7403,7 +7403,7 @@ fi
if cygwin ; then
#CFLAGS="$CFLAGS -D__CYGWIN__ -D__CYGWIN_USE_BIG_TYPES__"
# stat.st_size with BIG_TYPES is broken (not set) ::atmos
- CFLAGS="$CFLAGS -D__CYGWIN__"
+ CFLAGS="$CFLAGS -D__CYGWIN__ -DSYS_CYGWIN"
fi
# 64 bit file offsets?
if test "$_largefiles" = yes || freebsd ; then
diff --git a/libdvdcss/Makefile b/libdvdcss/Makefile
index c5aec7072f..31dbfd9136 100644
--- a/libdvdcss/Makefile
+++ b/libdvdcss/Makefile
@@ -12,8 +12,4 @@ SRCS_COMMON = css.c \
CFLAGS = -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.9\" \
-DHAVE_LIMITS_H -DHAVE_ERRNO_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H
-ifeq ($(TARGET_OS),CYGWIN)
-CFLAGS+=-DSYS_CYGWIN
-endif
-
include ../mpcommon.mak