Fix Android compile

This commit is contained in:
Joshua Granick
2014-08-29 11:00:17 -07:00
parent ad49cba3a2
commit d68f0ddfa2
8 changed files with 53 additions and 3 deletions

View File

@@ -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

View File

@@ -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