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,6 +18,7 @@ module libraryA.core.Exception;
// Imports // Imports
/////////////////////////////////////// ///////////////////////////////////////
version (Tango)
import tango.core.Exception; import tango.core.Exception;
//////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////
@ -31,10 +32,19 @@ import tango.core.Exception;
/** /**
* PathNotFoundException Class * PathNotFoundException Class
**/ **/
version (Tango) {
class PathNotFoundException : IOException { class PathNotFoundException : IOException {
/// Default Constructor /// Default Constructor
this (char [] Message) { this (char [] Message) {
super(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;