Fix compile error on nodejs
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
package haxe;
|
package haxe;
|
||||||
#if (macro || (!neko && !cpp))
|
#if (macro || (!neko && !cpp && !nodejs))
|
||||||
|
|
||||||
|
|
||||||
// Original haxe.Timer class
|
// Original haxe.Timer class
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import js.html.CanvasRenderingContext2D;
|
|||||||
|
|
||||||
@:access(lime.text.Glyph)
|
@:access(lime.text.Glyph)
|
||||||
|
|
||||||
#if !display
|
#if (!display && !nodejs)
|
||||||
@:autoBuild(lime.Assets.embedFont())
|
@:autoBuild(lime.Assets.embedFont())
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user