Bug 1102815 - mingw builds assert in WindowsCrtPatch.h. r=glandium

--HG--
extra : rebase_source : d33a9be405982bc08ab6a762b4e5df9c013a3856
This commit is contained in:
Jacek Caban 2014-11-25 12:43:05 +01:00
parent 8df22cc0bd
commit 88a4c68fbb

View File

@ -16,6 +16,10 @@
#include "nsSetDllDirectory.h"
#endif
#if defined(MOZ_METRO) || defined(__GNUC__)
#define XRE_DONT_SUPPORT_XPSP2
#endif
#ifndef XRE_DONT_SUPPORT_XPSP2
#include "WindowsCrtPatch.h"
#endif
@ -80,7 +84,7 @@ FreeAllocStrings(int argc, char **argv)
int wmain(int argc, WCHAR **argv)
{
#if !defined(XRE_DONT_SUPPORT_XPSP2) && !defined(MOZ_METRO)
#if !defined(XRE_DONT_SUPPORT_XPSP2)
WindowsCrtPatch::Init();
#endif