diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-22 09:46:46 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-22 09:46:46 +0100 |
commit | 896daf273035e889c50dc5b33e74b5fb891851bc (patch) | |
tree | 5cfeb92f689315c1a3227e5fc54bcec66b2cf6e3 /m4/gethrxtime.m4 | |
parent | 3a5d13f42ba42a4e1625bdbcdd93bd2099c550a0 (diff) | |
download | gnulib-896daf273035e889c50dc5b33e74b5fb891851bc.tar.gz |
gethrxtime: Assume that the compiler supports 'long long'.
* lib/xtime.h (xtime_t): Define to 'long long int' always.
(XTIME_PRECISION): Define to 1000000000 always.
(xtime_make, xtime_sec): Optimize accordingly.
* m4/gethrxtime.m4 (gl_XTIME): Don't require AC_TYPE_LONG_LONG_INT.
* modules/gethrxtime (Files): Remove longlong.m4.
Diffstat (limited to 'm4/gethrxtime.m4')
-rw-r--r-- | m4/gethrxtime.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/gethrxtime.m4 b/m4/gethrxtime.m4 index 6444fad9e8..70439d34cd 100644 --- a/m4/gethrxtime.m4 +++ b/m4/gethrxtime.m4 @@ -1,4 +1,4 @@ -# gethrxtime.m4 serial 12 +# gethrxtime.m4 serial 13 dnl Copyright (C) 2005-2006, 2008-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -62,6 +62,5 @@ AC_DEFUN([gl_ARITHMETIC_HRTIME_T], # Prerequisites of lib/xtime.h. AC_DEFUN([gl_XTIME], [ - AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) : ]) |