Mercurial > projects > dwt-mac
diff dwt/dwthelper/FileInputStream.d @ 61:c74ba20de292
Fix: The application responds to events now
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 23 Dec 2008 00:35:24 +0100 |
parents | 62202ce0039f |
children | 623ff6db5f1d |
line wrap: on
line diff
--- a/dwt/dwthelper/FileInputStream.d Mon Dec 22 15:10:19 2008 +0100 +++ b/dwt/dwthelper/FileInputStream.d Tue Dec 23 00:35:24 2008 +0100 @@ -7,7 +7,16 @@ import dwt.dwthelper.File; import dwt.dwthelper.InputStream; -import tango.io.device.FileConduit; +version (LDC) +{ + import Tango = tango.io.device.File; + alias Tango.File FileConduit; +} + +else + import tango.io.device.FileConduit; + + import tango.io.protocol.Reader; import tango.core.Exception; import tango.text.convert.Format;