Dan Korostelev 9 years ago
parent
commit
c3911bc64a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/haxe/Int32.hx

+ 2 - 0
std/haxe/Int32.hx

@@ -198,7 +198,9 @@ abstract Int32(Int) from Int to Int {
 		#end
 	}
 
+	#if js
 	static function __init__() {
 		untyped if (Math.imul != null) Int32.mul = Math.imul;
 	}
+	#end
 }