diff dmd/Global.d @ 14:2cc604139636

Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author Robert Clipsham <robert@octarineparrot.com>
date Sun, 04 Apr 2010 02:06:32 +0100
parents 10317f0c89a5
children ef02e2e203c2
line wrap: on
line diff
--- a/dmd/Global.d	Wed Mar 31 16:29:36 2010 +0400
+++ b/dmd/Global.d	Sun Apr 04 02:06:32 2010 +0100
@@ -10,7 +10,7 @@
 	
 version (TARGET_WINDOS) {
     string obj_ext = "obj";
-} else version (XXX) {	// TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS
+} else version (POSIX) {	// TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS
     string obj_ext = "o";
 } else version (TARGET_NET) {
 } else {
@@ -19,7 +19,7 @@
 
 version (TARGET_WINDOS) {
     string lib_ext = "lib";
-} else version (XXX) {	// TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS
+} else version (POSIX) {	// TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS
 	string lib_ext = "a";
 } else version (TARGET_NET) {
 } else {
@@ -49,4 +49,4 @@
 	}
 }
 
-Global global;
\ No newline at end of file
+Global global;