summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-30 08:57:30 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-30 08:57:30 +0000
commitc9e396b89868f21a6627c6de960473ea59541da5 (patch)
tree327d6e8168c85f63760edc65feab0d27747cdb5f /libaf
parent881f0f083fa7c3888e178d137b2bfdf0168b0a9a (diff)
downloadmpv-c9e396b89868f21a6627c6de960473ea59541da5.tar.bz2
mpv-c9e396b89868f21a6627c6de960473ea59541da5.tar.xz
- correct the argument in configure check for lrintf() to avoid a warning
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99 isn't available git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15597 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/Makefile b/libaf/Makefile
index 5d11fc71fb..1494c36d2e 100644
--- a/libaf/Makefile
+++ b/libaf/Makefile
@@ -9,7 +9,7 @@ af_lavcresample.c af_sweep.c af_hrtf.c format.c af_center.c $(OPTIONAL_SRCS)
OBJS=$(SRCS:.c=.o)
-CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC)
+CFLAGS = $(OPTFLAGS) -I. -Wall $(EXTRA_INC) -D_GNU_SOURCE
ifeq ($(TARGET_OS),MINGW32)
CFLAGS += -D_IO_H_