summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 13bb74ad..3a206ebf 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -83,7 +83,11 @@ DEFobjCurrIf(strm)
* That should be sufficient (and even than, there would no really bad effect ;)).
* The variable below is the global counter/clock.
*/
+#if HAVE_ATOMIC_BUILTINS_64BIT
static uint64 clockFileAccess = 0;
+#else
+static unsigned clockFileAccess = 0;
+#endif
/* and the "tick" function */
static inline uint64
getClockFileAccess(void)