Mercurial > projects > ldc
diff dmd2/mars.h @ 847:356e65836fb5
Merged DMD 2.021 frontend.
Removed generated files from dmd/dmd2 dirs.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 13 Dec 2008 16:14:37 +0100 |
parents | 340acf1535d0 |
children | 82ad6c0c601c |
line wrap: on
line diff
--- a/dmd2/mars.h Sat Dec 13 13:15:31 2008 +0100 +++ b/dmd2/mars.h Sat Dec 13 16:14:37 2008 +0100 @@ -33,6 +33,7 @@ #endif #define BREAKABI 1 // 0 if not ready to break the ABI just yet +#define STRUCTTHISREF V2 // if 'this' for struct is a reference, not a pointer struct Array; @@ -99,6 +100,7 @@ char novalidate;// no bitcode validation char Dversion; // D version number char ignoreUnsupportedPragmas; // rather than error on them + char safe; // enforce safe memory model char *argv0; // program name Array *imppath; // array of char*'s of where to look for import modules @@ -201,6 +203,12 @@ extern Global global; +/* Set if Windows Structured Exception Handling C extensions are supported. + * Apparently, VC has dropped support for these? + */ +#define WINDOWS_SEH _WIN32 && __DMC__ + + #if __GNUC__ //#define memicmp strncasecmp //#define stricmp strcasecmp