diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Path.d @ 26:f589fc20a5f9

work on linux phobos
author Frank Benoit <benoit@tionex.de>
date Sat, 21 Mar 2009 11:22:55 +0100
parents f713da8bc051
children 70388b0e6dad
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Path.d	Fri Mar 20 23:03:58 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Path.d	Sat Mar 21 11:22:55 2009 +0100
@@ -23,8 +23,11 @@
 import org.eclipse.swt.graphics.PathData;
 import java.lang.all;
 
-import tango.stdc.string;
-import tango.text.convert.Format;
+version(Tango){
+    import tango.stdc.string;
+} else {
+    import std.c.string;
+}
 
 /**
  * Instances of this class represent paths through the two-dimensional