Fix conditional compilation.
For real this time, definitely, hopefully, maybe.
This commit is contained in:
@@ -601,9 +601,15 @@ class NativeApplication
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (haxe_ver > "4.1.5" && target.threaded)
|
#if (haxe_ver > "4.1.5")
|
||||||
|
#if target.threaded
|
||||||
sys.thread.Thread.current().events.progress();
|
sys.thread.Thread.current().events.progress();
|
||||||
#else
|
#else
|
||||||
|
// Duplicate code required because Haxe 3 can't handle
|
||||||
|
// #if (haxe_ver > "4.1.5" && target.threaded)
|
||||||
|
@:privateAccess haxe.EntryPoint.processEvents();
|
||||||
|
#end
|
||||||
|
#else
|
||||||
@:privateAccess haxe.EntryPoint.processEvents();
|
@:privateAccess haxe.EntryPoint.processEvents();
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user