Update Bytes.hx
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user