]> git.eshelyaron.com Git - emacs.git/commit
Assume C99-style ‘long long’
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jan 2020 04:15:27 +0000 (04:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jan 2020 04:18:22 +0000 (20:18 -0800)
commit12d004d6eee2d136825df92eca33eaa6b705030b
treebcb7c98c4e61fa819e04ab358ad4beaaf4cd361b
parent87772ffe317897b781b2ef8b3bcaa9b6c077311c
Assume C99-style ‘long long’

Now that Gnulib assumes ‘long long’, it is a good time to clean
out old cruft porting to pre-C99 compilers that lack it.
* src/data.c (ULL_WIDTH, ULL_MAX): Remove.
All uses replaced by ULLONG_WIDTH, ULLONG_MAX.
(bits_word_to_host_endian): Assume ‘unsigned long long’.
By the way, the old code had a performance typo: it used
HAVE_UNSIGNED_LONG_LONG where it should have used
HAVE_UNSIGNED_LONG_LONG_INT.
* src/sysdep.c (ULLONG_MAX): Remove, as lib/limits.h does this now.
(time_from_jiffies) [GNU_LINUX]: Assume ‘long long’.
admin/CPP-DEFINES
src/data.c
src/sysdep.c