1 #ifndef XLIMITS_H_DEFINED_
2 #define XLIMITS_H_DEFINED_
3 
4 #ifdef HAVE_LIMITS_H
5 #include <limits.h>
6 #endif
7 
8 /* At least one system (NeXT Mach 3.3) was missing these values, so
9    make sure they are defined.  For bibclean, their exact values are
10    not critical; they just need to be large relative to the size of
11    strings processed. */
12 
13 #if !defined(INT_MAX)
14 #define INT_MAX 2147483647
15 #endif
16 
17 #if !defined(LONG_MAX)
18 #define LONG_MAX 2147483647L
19 #endif
20 
21 #endif /* XLIMITS_H_DEFINED_ */
22