Update Bytes.hx

This commit is contained in:
Joshua Granick
2017-01-05 23:46:32 -08:00
committed by GitHub
parent 820f126c52
commit ece53252b2

View File

@@ -50,7 +50,7 @@ abstract Bytes(HaxeBytes) from HaxeBytes to HaxeBytes {
public static function fromFile (path:String):Bytes {
#if (!html5 && !macro)
#if (sys && lime_cffi && !macro)
#if !cs
var bytes = Bytes.alloc (0);
NativeCFFI.lime_bytes_read_file (path, bytes);
@@ -106,4 +106,4 @@ abstract Bytes(HaxeBytes) from HaxeBytes to HaxeBytes {
#end
}
}