mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-13 22:48:43 +03:00
Initialize new TargetC fields
This commit is contained in:
parent
8b3b566a4a
commit
a3716c0044
2 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,11 @@ void Target::_init(const Param ¶ms) {
|
|||
maxStaticDataSize = std::numeric_limits<unsigned long long>::max();
|
||||
|
||||
c.crtDestructorsSupported = true; // unused as of 2.099
|
||||
c.boolsize = 1;
|
||||
c.shortsize = 2;
|
||||
c.intsize = 4;
|
||||
c.longsize = (ptrsize == 8) && !isMSVC ? 8 : 4;
|
||||
c.long_longsize = 8;
|
||||
c.long_doublesize = realsize;
|
||||
c.wchar_tsize = triple.isOSWindows() ? 2 : 4;
|
||||
c.bitFieldStyle =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue