From: Paul Eggert Date: Thu, 29 Sep 2005 16:51:40 +0000 (+0000) Subject: (XTIME_PRECISION): Now of type int, not long long int, X-Git-Tag: v5.90~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970dc8e4a8cc0a413cb07c27addcdc878b61ac17;p=thirdparty%2Fcoreutils.git (XTIME_PRECISION): Now of type int, not long long int, so that the code works even with ancient cpp. Portability problem with GCC 2.7.2.1 reported by Thomas M.Ott. --- diff --git a/lib/xtime.h b/lib/xtime.h index 1d5f70b0d8..3c7f620dbe 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 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