Bug 754797 - libopus fails to compile on mingw - r=rillian

Define HAVE_LRINTF when compiling with GCC on Windows to avoid
the MSVC assembly implementation in libopus/celt/float_cast.h.
This commit is contained in:
Jacek Caban 2012-05-15 12:18:14 +02:00
parent 9a884625c2
commit 0d47ca679c

View File

@ -25,6 +25,9 @@ ifneq ($(filter $(OS_ARCH),Linux Darwin),)
endif
ifeq ($(OS_ARCH), WINNT)
DEFINES += -Dinline=__inline
ifdef GNU_CC
DEFINES += -DHAVE_LRINTF
endif
endif
ifeq ($(OS_ARCH),AIX)
DEFINES += -Dalloca=__alloca