Add stub symbol for 'utimensat', making it work on Android 2.3 again

This commit is contained in:
Henrik Rydgård 2022-12-14 16:10:21 +01:00
parent 8986f92db8
commit d8cf7ce30c

View file

@ -199,6 +199,15 @@ AndroidGraphicsContext *graphicsContext;
#define MessageBox(a, b, c, d) __android_log_print(ANDROID_LOG_INFO, APP_NAME, "%s %s", (b), (c));
#if PPSSPP_ARCH(ARMV7)
// Old Android workaround
extern "C" {
int utimensat(int fd, const char *path, const struct timespec times[2]) {
return -1;
}
}
#endif
void AndroidLogger::Log(const LogMessage &message) {
int mode;
switch (message.level) {