Browse Source

fix for macro

Nicolas Cannasse 3 years ago
parent
commit
38e1100aae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/impl/AsyncLoader.hx

+ 1 - 1
hxd/impl/AsyncLoader.hx

@@ -86,7 +86,7 @@ class ThreadAsyncLoader implements AsyncLoader {
 }
 #end
 
-#if hxnodejs
+#if (hxnodejs && !macro)
 class NodeLoader implements AsyncLoader {
 
 	var fs : hxd.fs.LocalFileSystem;