Mercurial > projects > ldc
comparison dmd2/mars.h @ 1577:e4f7b5d9c68a
DMD 2.032 Merge.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 08 Sep 2009 10:07:56 +0100 |
parents | 54b3c1394d62 |
children |
comparison
equal
deleted
inserted
replaced
1576:4551475bc6b6 | 1577:e4f7b5d9c68a |
---|---|
92 #define DMDV1 0 | 92 #define DMDV1 0 |
93 #define DMDV2 1 // Version 2.0 features | 93 #define DMDV2 1 // Version 2.0 features |
94 #define BREAKABI 1 // 0 if not ready to break the ABI just yet | 94 #define BREAKABI 1 // 0 if not ready to break the ABI just yet |
95 #define STRUCTTHISREF DMDV2 // if 'this' for struct is a reference, not a pointer | 95 #define STRUCTTHISREF DMDV2 // if 'this' for struct is a reference, not a pointer |
96 #define SNAN_DEFAULT_INIT DMDV2 // if floats are default initialized to signalling NaN | 96 #define SNAN_DEFAULT_INIT DMDV2 // if floats are default initialized to signalling NaN |
97 | |
98 // Set if C++ mangling is done by the front end | |
99 #define CPP_MANGLE (DMDV2 && (TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS)) | |
97 | 100 |
98 /* Other targets are TARGET_LINUX, TARGET_OSX, TARGET_FREEBSD and | 101 /* Other targets are TARGET_LINUX, TARGET_OSX, TARGET_FREEBSD and |
99 * TARGET_SOLARIS, which are | 102 * TARGET_SOLARIS, which are |
100 * set on the command line via the compiler makefile. | 103 * set on the command line via the compiler makefile. |
101 */ | 104 */ |