mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add stub symbol for 'utimensat', making it work on Android 2.3 again
This commit is contained in:
parent
8986f92db8
commit
d8cf7ce30c
1 changed files with 9 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue