Mercurial > projects > dwt2
diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/SWTException.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 | ddbfe84d86df |
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/SWTException.d Fri Mar 20 23:03:58 2009 +0100 +++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/SWTException.d Sat Mar 21 11:22:55 2009 +0100 @@ -16,7 +16,10 @@ import org.eclipse.swt.SWT; -import tango.core.Exception; +version(Tango){ + import tango.core.Exception; +} else { // Phobos +} /** * This runtime exception is thrown whenever a recoverable error