haxe compatibility fix for haxe version 4.0.5
This commit is contained in:
parent
b1412b4eb2
commit
25e14db0ff
@ -49,13 +49,13 @@ class Main{
|
|||||||
files.push(arg);
|
files.push(arg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Look at switch contents
|
// Look at switch contents
|
||||||
if (_switches.contains("-v")) {
|
if (_switches.indexOf("-v") > -1) {
|
||||||
Sys.println('version: ${haxe.macro.Compiler.getDefine("version")}');
|
Sys.println('version: ${haxe.macro.Compiler.getDefine("version")}');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_switches.contains("-t")) {
|
if (_switches.indexOf("-t") > -1) {
|
||||||
SWITCHMODE_TURBO = true;
|
SWITCHMODE_TURBO = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user