summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/xditview/device.c
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-07-01 08:00:00 +0000
commit5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch)
treee779b5a6edddbb949b7990751b12d6f25304ba86 /gnu/usr.bin/groff/xditview/device.c
parenta16f65c7d117419bd266c28a1901ef129a337569 (diff)
Diffstat (limited to 'gnu/usr.bin/groff/xditview/device.c')
-rw-r--r--gnu/usr.bin/groff/xditview/device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/xditview/device.c b/gnu/usr.bin/groff/xditview/device.c
index 45cce4c6cf98..740f93f72b29 100644
--- a/gnu/usr.bin/groff/xditview/device.c
+++ b/gnu/usr.bin/groff/xditview/device.c
@@ -23,8 +23,14 @@ searching for device and font description files. */
#define WS " \t\r\n"
/* Minimum and maximum values a `signed int' can hold. */
+
+#ifndef INT_MIN
#define INT_MIN (-INT_MAX-1)
+#endif
+#ifndef INT_MAX
#define INT_MAX 2147483647
+#endif
+
#define CHAR_TABLE_SIZE 307