Explorar o código

[lua] fix feature dependency for lua.Bit extern

Justin Donaldson %!s(int64=9) %!d(string=hai) anos
pai
achega
9fb4b4ccfb
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      std/lua/Bit.hx

+ 1 - 2
std/lua/Bit.hx

@@ -36,7 +36,6 @@ extern class Bit {
 	public static function arshift(x:Float, places:Int) : Int;
 	public static function mod(numerator:Float, denominator:Float) : Int;
 	public static function __init__() : Void {
-		//bit library fixes
-		haxe.macro.Compiler.includeFile("lua/_lua/_hx_bit.lua");
+		untyped _hx_bit = __define_feature__("use._bitop",_hx_bit);
 	}
 }