diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Image.d @ 48:ddbfe84d86df

[swt lin] versioned imports
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 12:05:20 +0100
parents f589fc20a5f9
children 7a2dd761a8b2
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Image.d	Fri Mar 27 11:43:53 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/graphics/Image.d	Fri Mar 27 12:05:20 2009 +0100
@@ -31,7 +31,10 @@
 import java.io.InputStream;
 import java.lang.all;
 
+version(Tango){
 import tango.stdc.string;
+} else { // Phobos
+}
 
 /**
  * Instances of this class are graphics which have been prepared
@@ -1172,6 +1175,7 @@
 /**
  * Returns a string containing a concise, human-readable
  * description of the receiver.
+    import tango.core.Exception;
  *
  * @return a string representation of the receiver
  */