mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
Make extern(System) configure the calling convention on LDC runtime, not when building LDC.
This commit is contained in:
10
dmd/parse.c
10
dmd/parse.c
@@ -597,11 +597,11 @@ enum LINK Parser::parseLinkage()
|
||||
}
|
||||
else if (id == Id::System)
|
||||
{
|
||||
#if _WIN32
|
||||
link = LINKwindows;
|
||||
#else
|
||||
link = LINKc;
|
||||
#endif
|
||||
// LDC we configure target at runtime
|
||||
if (global.params.os == OSWindows)
|
||||
link = LINKwindows;
|
||||
else
|
||||
link = LINKc;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user