mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 03:43:13 +01:00
Changed mangling for naked assembler on Win32.
Reported by Temtaime on the newsgroup!
This commit is contained in:
@@ -152,7 +152,8 @@ void DtoDefineNakedFunction(FuncDeclaration* fd)
|
||||
else
|
||||
{
|
||||
std::string fullMangle;
|
||||
if (global.params.targetTriple.getOS() == llvm::Triple::MinGW32)
|
||||
if (global.params.targetTriple.getOS() == llvm::Triple::MinGW32 ||
|
||||
global.params.targetTriple.getOS() == llvm::Triple::Win32)
|
||||
{
|
||||
fullMangle = "_";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user