aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/log.c b/log.c
index 2ee24b6..7b903dc 100644
--- a/log.c
+++ b/log.c
@@ -23,6 +23,9 @@
#include <string.h>
#include <stdarg.h>
#include <time.h>
+#ifndef CLK_TCK
+ #define CLK_TCK CLOCKS_PER_SEC
+#endif
#include <ctype.h>
FILE* loutfile;