From 11d3c486915d9a13e1e72774baa98d75b2521a83 Mon Sep 17 00:00:00 2001 From: vroad Date: Sun, 29 Mar 2015 12:43:48 +0900 Subject: [PATCH] Fix compile error on nodejs --- haxe/Timer.hx | 2 +- lime/text/Font.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haxe/Timer.hx b/haxe/Timer.hx index 344eb7202..73d1d0372 100644 --- a/haxe/Timer.hx +++ b/haxe/Timer.hx @@ -1,5 +1,5 @@ package haxe; -#if (macro || (!neko && !cpp)) +#if (macro || (!neko && !cpp && !nodejs)) // Original haxe.Timer class diff --git a/lime/text/Font.hx b/lime/text/Font.hx index 9b0bfa6b3..f153a77dd 100644 --- a/lime/text/Font.hx +++ b/lime/text/Font.hx @@ -15,7 +15,7 @@ import js.html.CanvasRenderingContext2D; @:access(lime.text.Glyph) -#if !display +#if (!display && !nodejs) @:autoBuild(lime.Assets.embedFont()) #end