Move setting Cygwin specific CFLAGS to configure.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22739 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-19 00:03:00 +00:00
parent 7054aa378d
commit 8c3f78b90d
2 changed files with 1 additions and 5 deletions

2
configure vendored
View File

@ -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

View File

@ -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