mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
Win32: Remove extra leading underscore from D symbol mangling
This is compatible with DMD.
This commit is contained in:
parent
f56bbf4d7b
commit
0b28925e9a
13 changed files with 51 additions and 56 deletions
|
@ -540,7 +540,7 @@ void DtoDeclareFunction(FuncDeclaration *fdecl) {
|
|||
fatal();
|
||||
}
|
||||
|
||||
func->setCallingConv(gABI->callingConv(func->getFunctionType(), link, fdecl));
|
||||
func->setCallingConv(gABI->callingConv(link, f, fdecl));
|
||||
|
||||
if (global.params.isWindows && fdecl->isExport()) {
|
||||
func->setDLLStorageClass(fdecl->isImportedSymbol()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue