Stop trying to use Unixy time measurement on Fuchsia
In particular, don't use things from sys/resource.h
Change-Id: I67901df62ea9c3cd76daddc2492fa53a6c067638
diff --git a/shell.c b/shell.c
index 5148177..eebdfeb 100644
--- a/shell.c
+++ b/shell.c
@@ -169,6 +169,7 @@
/* True if the timer is enabled */
static int enableTimer = 0;
+#if !defined(_WIN32) && !defined(WIN32) && !defined(__minux) && !defined(__Fuchsia__)
/* Return the current wall-clock time */
static sqlite3_int64 timeOfDay(void){
static sqlite3_vfs *clockVfs = 0;
@@ -184,7 +185,6 @@
return t;
}
-#if !defined(_WIN32) && !defined(WIN32) && !defined(__minux)
#include <sys/time.h>
#include <sys/resource.h>