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
///////////////////////////////////////
import tango.core.Exception;
version (Tango)
import tango.core.Exception;
////////////////////////////////////////////////////////////////////////////
// Typedef's / Enums
@ -31,10 +32,19 @@ import tango.core.Exception;
/**
* PathNotFoundException Class
**/
class PathNotFoundException : IOException {
/// Default Constructor
this (char [] Message) {
super(Message);
version (Tango) {
class PathNotFoundException : IOException {
/// Default Constructor
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;
}
version(RendererWin) {
import libraryB.render.RendererWin;
import libraryB.render.RendererWindows;
}
import libraryA.io.Output;