Bug 758487 Fix libopus compile on Solaris/SPARC r=rillian
authorGinn Chen <ginn.chen@oracle.com>
Mon, 28 May 2012 09:33:35 +0800
changeset 99147 606af29f167c941aba66b46fe0524f41982558c5
parent 99146 a09580f17723f9a12d9eb3179194c03ff91eb654
child 99148 77fbc76f4424b095f6a57ce02207f4f26725ed83
push idunknown
push userunknown
push dateunknown
reviewersrillian
bugs758487
milestone15.0a1
Bug 758487 Fix libopus compile on Solaris/SPARC r=rillian
media/libopus/Makefile.in
--- a/media/libopus/Makefile.in
+++ b/media/libopus/Makefile.in
@@ -27,16 +27,19 @@ ifeq ($(OS_ARCH), WINNT)
   DEFINES += -Dinline=__inline
 ifdef GNU_CC
   DEFINES += -DHAVE_LRINTF
 endif
 endif
 ifeq ($(OS_ARCH),AIX)
 DEFINES += -Dalloca=__alloca
 endif
+ifeq ($(OS_ARCH),SunOS)
+DEFINES += -DHAVE_ALLOCA_H
+endif
 
 EXPORTS_NAMESPACES = opus
 
 EXPORTS_opus = \
   include/opus.h \
   include/opus_defines.h \
   include/opus_types.h \
   include/opus_multistream.h \