Просмотр исходного кода

fixed issue #1075 (people still use flash8 woo !)

Nicolas Cannasse 13 лет назад
Родитель
Сommit
d6bbee7f1f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      std/haxe/Log.hx

+ 1 - 1
std/haxe/Log.hx

@@ -30,7 +30,7 @@ class Log {
 		#if flash
 			#if (fdb || nativeTrace)
 		var pstr = infos == null ? "(null)" : infos.fileName+":"+infos.lineNumber;
-		untyped __global__["trace"](pstr+": "+flash.Boot.__string_rec(v,""));
+		untyped #if flash9 __global__["trace"] #else __trace__ #end(pstr+": "+flash.Boot.__string_rec(v,""));
 			#else
 		untyped flash.Boot.__trace(v,infos);
 			#end