summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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