comparison dmd/mars.c @ 1195:e961851fb8be

Merged DMD 1.042.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 03 Apr 2009 17:59:34 +0200
parents eeb8b95ea92e
children dd5dbe7b3923
comparison
equal deleted inserted replaced
1194:1853dcd9b944 1195:e961851fb8be
1
1 // Compiler implementation of the D programming language 2 // Compiler implementation of the D programming language
2 // Copyright (c) 1999-2009 by Digital Mars 3 // Copyright (c) 1999-2009 by Digital Mars
3 // All Rights Reserved 4 // All Rights Reserved
4 // written by Walter Bright 5 // written by Walter Bright
5 // http://www.digitalmars.com 6 // http://www.digitalmars.com
13 #include <assert.h> 14 #include <assert.h>
14 #include <limits.h> 15 #include <limits.h>
15 #include <string> 16 #include <string>
16 #include <cstdarg> 17 #include <cstdarg>
17 18
18 #if __DMC__
19 #include <dos.h>
20 #endif
21
22 #if POSIX 19 #if POSIX
23 #include <errno.h> 20 #include <errno.h>
24 #elif _WIN32 21 #elif _WIN32
25 #include <windows.h> 22 #include <windows.h>
26 #endif 23 #endif
57 obj_ext_alt = "obj"; 54 obj_ext_alt = "obj";
58 #endif 55 #endif
59 56
60 copyright = "Copyright (c) 1999-2009 by Digital Mars and Tomas Lindquist Olsen"; 57 copyright = "Copyright (c) 1999-2009 by Digital Mars and Tomas Lindquist Olsen";
61 written = "written by Walter Bright and Tomas Lindquist Olsen"; 58 written = "written by Walter Bright and Tomas Lindquist Olsen";
62 version = "v1.041"; 59 version = "v1.042";
63 ldc_version = LDC_REV; 60 ldc_version = LDC_REV;
64 llvm_version = LLVM_REV_STR; 61 llvm_version = LLVM_REV_STR;
65 global.structalign = 8; 62 global.structalign = 8;
66 63
67 // This should only be used as a global, so the other fields are 64 // This should only be used as a global, so the other fields are