mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1102815 - mingw builds assert in WindowsCrtPatch.h. r=glandium
--HG-- extra : rebase_source : d33a9be405982bc08ab6a762b4e5df9c013a3856
This commit is contained in:
parent
8df22cc0bd
commit
88a4c68fbb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user