Use original haxe.Timer in macros.

During macros, `System.getTimer()` falls through to `Sys.time()`, which is the same thing the original `haxe.Timer` uses. Therefore this change produces the same behavior but reduces the number of classes imported, which may help prevent errors.
This commit is contained in:
player-03
2023-04-15 20:29:33 -04:00
committed by GitHub
parent 88b6a7e14b
commit c00589c189

View File

@@ -1,6 +1,6 @@
package haxe;
#if !lime_cffi
#if (!lime_cffi || macro)
// Original haxe.Timer class
/*