Mercurial > projects > ddmd
comparison dmd/Type.d @ 140:31c086f76669
dmd.lib now only contains the backend
backward references from the backend to the frontend are implemented in ddmd
win32_lib.mak is replaced by a patch
also fixed VisualD project file predefined versions
author | Trass3r |
---|---|
date | Tue, 14 Sep 2010 01:54:48 +0200 |
parents | af1bebfd96a4 |
children | b7b61140701d |
comparison
equal
deleted
inserted
replaced
139:bc45b1c53019 | 140:31c086f76669 |
---|---|
87 /* REALSIZE = size a real consumes in memory | 87 /* REALSIZE = size a real consumes in memory |
88 * REALPAD = 'padding' added to the CPU real size to bring it up to REALSIZE | 88 * REALPAD = 'padding' added to the CPU real size to bring it up to REALSIZE |
89 * REALALIGNSIZE = alignment for reals | 89 * REALALIGNSIZE = alignment for reals |
90 */ | 90 */ |
91 version (TARGET_OSX) { | 91 version (TARGET_OSX) { |
92 int REALSIZE = 16; | 92 extern(C++) int REALSIZE = 16; |
93 int REALPAD = 6; | 93 int REALPAD = 6; |
94 int REALALIGNSIZE = 16; | 94 int REALALIGNSIZE = 16; |
95 } else version (POSIX) { /// TARGET_LINUX || TARGET_FREEBSD || TARGET_SOLARIS | 95 } else version (POSIX) { /// TARGET_LINUX || TARGET_FREEBSD || TARGET_SOLARIS |
96 int REALSIZE = 12; | 96 extern(C++) int REALSIZE = 12; |
97 int REALPAD = 2; | 97 int REALPAD = 2; |
98 int REALALIGNSIZE = 4; | 98 int REALALIGNSIZE = 4; |
99 } else { | 99 } else { |
100 int REALSIZE = 10; | 100 extern(C++) int REALSIZE = 10; |
101 int REALPAD = 0; | 101 int REALPAD = 0; |
102 int REALALIGNSIZE = 2; | 102 int REALALIGNSIZE = 2; |
103 } | 103 } |
104 | 104 |
105 /**** | 105 /**** |