Fix for building on windows

This commit is contained in:
flithm 2007-08-29 14:24:54 +00:00
commit 2ae39442b4
2 changed files with 181 additions and 171 deletions

View file

@ -18,7 +18,8 @@ module libraryA.core.Exception;
// Imports // Imports
/////////////////////////////////////// ///////////////////////////////////////
import tango.core.Exception; version (Tango)
import tango.core.Exception;
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
// Typedef's / Enums // Typedef's / Enums
@ -31,10 +32,19 @@ import tango.core.Exception;
/** /**
* PathNotFoundException Class * PathNotFoundException Class
**/ **/
class PathNotFoundException : IOException { version (Tango) {
/// Default Constructor class PathNotFoundException : IOException {
this (char [] Message) { /// Default Constructor
super(Message); this (char [] Message) {
super(Message);
}
}
} else {
class PathNotFoundException : Exception {
/// Default Constructor
this (char [] Message) {
super(Message);
}
} }
} }

View file

@ -25,7 +25,7 @@ version(RendererX11) {
import libraryB.render.RendererX11; import libraryB.render.RendererX11;
} }
version(RendererWin) { version(RendererWin) {
import libraryB.render.RendererWin; import libraryB.render.RendererWindows;
} }
import libraryA.io.Output; import libraryA.io.Output;