Mercurial > projects > ddmd
diff 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 |
line wrap: on
line diff
--- a/dmd/Type.d Tue Sep 14 01:13:58 2010 +0200 +++ b/dmd/Type.d Tue Sep 14 01:54:48 2010 +0200 @@ -89,15 +89,15 @@ * REALALIGNSIZE = alignment for reals */ version (TARGET_OSX) { - int REALSIZE = 16; + extern(C++) int REALSIZE = 16; int REALPAD = 6; int REALALIGNSIZE = 16; } else version (POSIX) { /// TARGET_LINUX || TARGET_FREEBSD || TARGET_SOLARIS - int REALSIZE = 12; + extern(C++) int REALSIZE = 12; int REALPAD = 2; int REALALIGNSIZE = 4; } else { - int REALSIZE = 10; + extern(C++) int REALSIZE = 10; int REALPAD = 0; int REALALIGNSIZE = 2; }