mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
17
toolkit/library/dummydll/dummydll.cpp
Normal file
17
toolkit/library/dummydll/dummydll.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
BOOL WINAPI DllMain(
|
||||
HANDLE hModule,
|
||||
DWORD dwReason,
|
||||
LPVOID lpvReserved
|
||||
)
|
||||
{
|
||||
if (dwReason == DLL_PROCESS_ATTACH) {
|
||||
::DisableThreadLibraryCalls((HMODULE)hModule);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
19
toolkit/library/dummydll/moz.build
Normal file
19
toolkit/library/dummydll/moz.build
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Bug 1294650 - populate our install with a shim dll to work around a
|
||||
# 3rd party code injection crash.
|
||||
|
||||
SOURCES += [
|
||||
'dummydll.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['CPU_ARCH'] == 'x86_64':
|
||||
GeckoSharedLibrary('qipcap64')
|
||||
else:
|
||||
GeckoSharedLibrary('qipcap')
|
||||
|
||||
NO_VISIBILITY_FLAGS = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue