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:
@@ -32,6 +32,7 @@ _debuggerAssert(const char *file, int line, const char *expression)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef HAIKU_HOST_PLATFORM_HAIKU
|
||||||
// system_time
|
// system_time
|
||||||
bigtime_t
|
bigtime_t
|
||||||
system_time(void)
|
system_time(void)
|
||||||
@@ -40,6 +41,7 @@ system_time(void)
|
|||||||
gettimeofday(&tm, NULL);
|
gettimeofday(&tm, NULL);
|
||||||
return (int64)tm.tv_sec * 1000000LL + (int64)tm.tv_usec;
|
return (int64)tm.tv_sec * 1000000LL + (int64)tm.tv_usec;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// snooze
|
// snooze
|
||||||
status_t
|
status_t
|
||||||
|
|||||||
Reference in New Issue
Block a user