Fix for building on windows
This commit is contained in:
parent
0ba6289dbb
commit
2ae39442b4
2 changed files with 181 additions and 171 deletions
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue