* sysdep.c (ULLONG_MAX): Define if not already defined.

Fixes: debbugs:11781
This commit is contained in:
Paul Eggert 2012-07-06 20:06:00 -07:00
parent f3047c750d
commit 5a16b9bc1d
2 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2012-07-07 Paul Eggert <eggert@cs.ucla.edu>
* sysdep.c (ULLONG_MAX): Define if not already defined (Bug#11781).
* sysdep.c (list_system_processes): Port to NetBSD-current (Bug#11797).
Do not require float-time's arg to fit in time_t (Bug#11825).

View file

@ -108,6 +108,11 @@ static int emacs_set_tty (int, struct emacs_tty *, int);
static _Noreturn void croak (char *);
#endif
/* ULLONG_MAX is missing on Red Hat Linux 7.3; see Bug#11781. */
#ifndef ULLONG_MAX
#define ULLONG_MAX TYPE_MAXIMUM (unsigned long long int)
#endif
/* Declare here, including term.h is problematic on some systems. */
extern void tputs (const char *, int, int (*)(int));