aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2012-07-06 20:06:00 -0700
committerPaul Eggert <[email protected]>2012-07-06 20:06:00 -0700
commit5a16b9bc1deaee43c4a5d9c9ebdc16e6e53ca6ef (patch)
tree54213e8b68b869b491bb557b1b3a08e8585cbe98 /src/sysdep.c
parentf3047c750dddbf9fe0bb6211b868247b4fc1a3ea (diff)
* sysdep.c (ULLONG_MAX): Define if not already defined.
Fixes: debbugs:11781
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index cf646768af..475c977044 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -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));