Fix Android compile
This commit is contained in:
@@ -89,6 +89,33 @@ namespace lime {
|
||||
}
|
||||
|
||||
|
||||
// Put in asset stubs for now, until we have a final system in place
|
||||
|
||||
#ifdef ANDROID
|
||||
FileInfo AndroidGetAssetFD(const char *inResource)
|
||||
{
|
||||
FileInfo info;
|
||||
info.fd = 0;
|
||||
info.offset = 0;
|
||||
info.length = 0;
|
||||
|
||||
// TODO
|
||||
|
||||
return info;
|
||||
|
||||
}
|
||||
|
||||
|
||||
ByteArray AndroidGetAssetBytes(const char *inResource) {
|
||||
|
||||
ByteArray result;
|
||||
|
||||
// TODO
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,6 +15,13 @@ namespace lime {
|
||||
}
|
||||
|
||||
|
||||
FILE *fdopen (int fd, const char *mode) {
|
||||
|
||||
return ::fdopen (fd, mode);
|
||||
|
||||
}
|
||||
|
||||
|
||||
FILE* fopen (const char *filename, const char *mode) {
|
||||
|
||||
#ifdef HX_MACOS
|
||||
|
||||
Reference in New Issue
Block a user