changeset 22721:404b9b4b13cd

Move setting Cygwin specific CFLAGS to configure.
author diego
date Mon, 19 Mar 2007 00:03:00 +0000
parents d253a533a96d
children 7d0e7e6bfa90
files configure libdvdcss/Makefile
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Mar 19 00:02:49 2007 +0000
+++ b/configure	Mon Mar 19 00:03:00 2007 +0000
@@ -7403,7 +7403,7 @@
 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
--- a/libdvdcss/Makefile	Mon Mar 19 00:02:49 2007 +0000
+++ b/libdvdcss/Makefile	Mon Mar 19 00:03:00 2007 +0000
@@ -12,8 +12,4 @@
 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