mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix Windows bustage by using the alloca-inclusion incantation from jstracer.cpp. (Bug 636039)
This commit is contained in:
parent
9cd361a5d0
commit
446b33c572
@ -81,7 +81,16 @@
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "CSSCalc.h"
|
||||
#include "nsPrintfCString.h"
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#include <malloc.h>
|
||||
#ifdef _MSC_VER
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
#endif
|
||||
#ifdef SOLARIS
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
using namespace mozilla::dom;
|
||||
namespace css = mozilla::css;
|
||||
|
Loading…
Reference in New Issue
Block a user