From 7d1a9bbb9b343e128cbfbc3567ab329f22edbd5a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 2 Jan 2017 16:33:03 -0800 Subject: Old uncommitted fix for Android build --- util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 6811b6d..2e36b33 100644 --- a/util.c +++ b/util.c @@ -479,7 +479,8 @@ time_t get_modification_time(char *path) #ifdef __APPLE__ return st.st_mtimespec.tv_sec; #else - return st.st_mtim.tv_sec; + //Android's Bionic doesn't support the new style so we'll use the old one instead + return st.st_mtime; #endif } -- cgit v1.2.3