diff 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
line wrap: on
line diff
--- a/dmd/mars.c	Fri Jan 04 01:38:42 2008 +0100
+++ b/dmd/mars.c	Fri Jan 11 17:57:40 2008 +0100
@@ -77,7 +77,7 @@
     memset(&params, 0, sizeof(Param));
 }
 
-char *Loc::toChars()
+char *Loc::toChars() const
 {
     OutBuffer buf;
     char *p;
@@ -300,6 +300,8 @@
     // Predefine version identifiers
 #if IN_LLVM
     VersionCondition::addPredefinedGlobalIdent("LLVM");
+    VersionCondition::addPredefinedGlobalIdent("LLVMDC");
+    VersionCondition::addPredefinedGlobalIdent("Posix");
 #endif
 #if _WIN32
     VersionCondition::addPredefinedGlobalIdent("Windows");