summaryrefslogtreecommitdiff
path: root/lib/xtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xtime.h')
-rw-r--r--lib/xtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xtime.h b/lib/xtime.h
index 1d5f70b0d..3c7f620db 100644
--- a/lib/xtime.h
+++ b/lib/xtime.h
@@ -27,14 +27,14 @@
seconds. */
# if HAVE_LONG_LONG
typedef long long int xtime_t;
-# define XTIME_PRECISION 1000000000LL
+# define XTIME_PRECISION 1000000000
# else
# include <limits.h>
typedef long int xtime_t;
# if LONG_MAX >> 31 >> 31 == 0
-# define XTIME_PRECISION 1L
+# define XTIME_PRECISION 1
# else
-# define XTIME_PRECISION 1000000000L
+# define XTIME_PRECISION 1000000000
# endif
# endif