projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add configure script
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index f44273f483c59103ece4a3d4681496e663698f66..24af397a414d27669c6aa7874d3d5170737ea0c2 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-79,6
+79,10
@@
int main(int argc, char *argv[], char *envp[])
return 1;
}
+#if !defined(CONFIG_GETTIMEOFDAY) && !defined(CONFIG_CLOCK_GETTIME)
+#error "No available clock source!"
+#endif
+
arch_init(envp);
sinit();