changeset 1139:160e3f597cec

Old uncommitted fix for Android build
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Jan 2017 16:33:03 -0800
parents 25268334a24c
children 4490c9c12272
files util.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util.c	Mon Jan 02 16:25:13 2017 -0800
+++ b/util.c	Mon Jan 02 16:33:03 2017 -0800
@@ -479,7 +479,8 @@
 #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
 }