mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 17:11:44 +03:00
Prepare generic x86 TargetABI for proper MSVC support
Based on Rainer's work in
3e36652c2c
This commit is contained in:
parent
5fce371c91
commit
e7f26a94b0
7 changed files with 21 additions and 9 deletions
|
@ -37,7 +37,9 @@ void Target::init() {
|
|||
c_longsize = global.params.is64bit ? 8 : 4;
|
||||
c_long_doublesize = realsize;
|
||||
|
||||
reverseCppOverloads = false; // DMC is not supported.
|
||||
// according to DMD, only for 32-bit MSVC++:
|
||||
reverseCppOverloads = !global.params.is64bit &&
|
||||
global.params.targetTriple.isWindowsMSVCEnvironment();
|
||||
}
|
||||
|
||||
/******************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue