mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 05:35:11 +00:00
Windows/DynamicLibrary.inc: Remove 'extern "C"' in ELM_Callback.
'extern "C" static' is not accepted by g++-4.7. Rather to tweak, I just removed 'extern "C"', since it doesn't affect the ABI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c4ef4e47c2
commit
66e6cd27a3
@ -41,7 +41,7 @@ using namespace sys;
|
|||||||
|
|
||||||
static DenseSet<HMODULE> *OpenedHandles;
|
static DenseSet<HMODULE> *OpenedHandles;
|
||||||
|
|
||||||
extern "C" static BOOL CALLBACK
|
static BOOL CALLBACK
|
||||||
ELM_Callback(WIN32_ELMCB_PCSTR ModuleName, ULONG_PTR ModuleBase,
|
ELM_Callback(WIN32_ELMCB_PCSTR ModuleName, ULONG_PTR ModuleBase,
|
||||||
ULONG ModuleSize, PVOID UserContext) {
|
ULONG ModuleSize, PVOID UserContext) {
|
||||||
OpenedHandles->insert((HMODULE)ModuleBase);
|
OpenedHandles->insert((HMODULE)ModuleBase);
|
||||||
|
Loading…
Reference in New Issue
Block a user