mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945216 - Fixed mozglue/ compilation on mingw. r=glandium
This commit is contained in:
parent
8f254a1c64
commit
3ca7c890e6
@ -47,7 +47,7 @@ endif
|
||||
|
||||
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
version.lib \
|
||||
$(call EXPAND_LIBNAME,version) \
|
||||
$(NULL)
|
||||
|
||||
STL_FLAGS=
|
||||
|
@ -163,7 +163,7 @@ static bool sBlocklistInitFailed;
|
||||
static bool sUser32BeforeBlocklist;
|
||||
|
||||
// Duplicated from xpcom glue. Ideally this should be shared.
|
||||
static void
|
||||
void
|
||||
printf_stderr(const char *fmt, ...)
|
||||
{
|
||||
if (IsDebuggerPresent()) {
|
||||
@ -368,7 +368,7 @@ DllBlockSet::Write(HANDLE file)
|
||||
|
||||
// Because this method is called after a crash occurs, and uses heap memory,
|
||||
// protect this entire block with a structured exception handler.
|
||||
__try {
|
||||
MOZ_SEH_TRY {
|
||||
for (DllBlockSet* b = gFirst; b; b = b->mNext) {
|
||||
// write name[,v.v.v.v];
|
||||
WriteFile(file, b->mName, strlen(b->mName), &nBytes, nullptr);
|
||||
@ -391,7 +391,7 @@ DllBlockSet::Write(HANDLE file)
|
||||
WriteFile(file, ";", 1, &nBytes, nullptr);
|
||||
}
|
||||
}
|
||||
__except (EXCEPTION_EXECUTE_HANDLER) { }
|
||||
MOZ_SEH_EXCEPT (EXCEPTION_EXECUTE_HANDLER) { }
|
||||
}
|
||||
|
||||
static
|
||||
|
Loading…
Reference in New Issue
Block a user