diff options
Diffstat (limited to 'gdb/xm-hp300bsd.h')
-rw-r--r-- | gdb/xm-hp300bsd.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/xm-hp300bsd.h b/gdb/xm-hp300bsd.h index 5defbb5..54800fd 100644 --- a/gdb/xm-hp300bsd.h +++ b/gdb/xm-hp300bsd.h @@ -25,10 +25,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_BYTE_ORDER BIG_ENDIAN -/* Avoid "INT_MIN redefined" warnings -- by defining it here, exactly - the same as in the system <machine/machtypes.h> file. */ -#undef INT_MIN -#define INT_MIN 0x80000000 +/* Avoid "INT_MIN redefined" preprocessor warnings -- by defining them here, + exactly the same as in the system <limits.h> file. */ +#define UINT_MAX 4294967295 /* max value for an unsigned int */ +#define INT_MAX 2147483647 /* max value for an int */ +#define INT_MIN (-2147483647-1) /* min value for an int */ +#define LONG_MAX 2147483647 /* max value for a long */ /* Get rid of any system-imposed stack limit if possible. */ |