Bug 789656 - Use lrintf() in libopus on BSDs. r=rillian
authorJan Beich <jbeich@tormail.org>
Thu, 13 Sep 2012 18:47:12 -0400
changeset 107039 1c62540dfed71622207aa60b0cbeed2a3482aa59
parent 107038 b78816f24b3b18a0c51c7ed96819be58085f9bee
child 107040 8522498a85a368dc0a152cef5681aa094bed0812
child 107051 d21d47aa9513f01aa9da5a91e1d4cc50e547a508
push id14823
push userryanvm@gmail.com
push dateThu, 13 Sep 2012 22:47:16 +0000
treeherdermozilla-inbound@1c62540dfed7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs789656
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 789656 - Use lrintf() in libopus on BSDs. r=rillian
media/libopus/Makefile.in
--- a/media/libopus/Makefile.in
+++ b/media/libopus/Makefile.in
@@ -15,17 +15,17 @@ FORCE_STATIC_LIB= 1
 
 DEFINES += \
   -DOPUS_BUILD \
   -DOPUS_VERSION='"draft-11-mozilla"' \
   -DUSE_ALLOCA \
   -Drestrict= \
   $(NULL)
 
-ifneq ($(filter $(OS_ARCH),Linux Darwin),)
+ifneq ($(filter $(OS_ARCH),Linux Darwin DragonFly FreeBSD NetBSD OpenBSD),)
   DEFINES += -DHAVE_LRINTF
 endif
 ifeq ($(OS_ARCH), WINNT)
   DEFINES += -Dinline=__inline
 ifdef GNU_CC
   DEFINES += -DHAVE_LRINTF
 endif
 endif