Mercurial > projects > ldc
comparison dmd/mars.c @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | 5825d48b27d1 |
children | 44a95ac7368a |
comparison
equal
deleted
inserted
replaced
131:5825d48b27d1 | 132:1700239cab2e |
---|---|
75 global.structalign = 8; | 75 global.structalign = 8; |
76 | 76 |
77 memset(¶ms, 0, sizeof(Param)); | 77 memset(¶ms, 0, sizeof(Param)); |
78 } | 78 } |
79 | 79 |
80 char *Loc::toChars() | 80 char *Loc::toChars() const |
81 { | 81 { |
82 OutBuffer buf; | 82 OutBuffer buf; |
83 char *p; | 83 char *p; |
84 | 84 |
85 if (filename) | 85 if (filename) |
298 global.params.debuglibname = global.params.defaultlibname; | 298 global.params.debuglibname = global.params.defaultlibname; |
299 | 299 |
300 // Predefine version identifiers | 300 // Predefine version identifiers |
301 #if IN_LLVM | 301 #if IN_LLVM |
302 VersionCondition::addPredefinedGlobalIdent("LLVM"); | 302 VersionCondition::addPredefinedGlobalIdent("LLVM"); |
303 VersionCondition::addPredefinedGlobalIdent("LLVMDC"); | |
304 VersionCondition::addPredefinedGlobalIdent("Posix"); | |
303 #endif | 305 #endif |
304 #if _WIN32 | 306 #if _WIN32 |
305 VersionCondition::addPredefinedGlobalIdent("Windows"); | 307 VersionCondition::addPredefinedGlobalIdent("Windows"); |
306 VersionCondition::addPredefinedGlobalIdent("Win32"); | 308 VersionCondition::addPredefinedGlobalIdent("Win32"); |
307 global.params.isWindows = 1; | 309 global.params.isWindows = 1; |