libroot_build: don't define system_time() on Haiku host.

* On x86_64, this was causing an infinite loop between
  libroot & libroot_build in the host unzip tool.
This commit is contained in:
Jessica Hamilton
2018-06-16 10:08:56 +00:00
parent d284524815
commit 77c8afb47f
+2
View File
@@ -32,6 +32,7 @@ _debuggerAssert(const char *file, int line, const char *expression)
return 0;
}
#ifndef HAIKU_HOST_PLATFORM_HAIKU
// system_time
bigtime_t
system_time(void)
@@ -40,6 +41,7 @@ system_time(void)
gettimeofday(&tm, NULL);
return (int64)tm.tv_sec * 1000000LL + (int64)tm.tv_usec;
}
#endif
// snooze
status_t