diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-11 05:17:40 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-11 05:17:40 +0000 |
commit | d2712f0267e60f18dd8238f2ab82983c00c0249b (patch) | |
tree | 8d7b1c1be097bd2d835ae33a8c0f059cc88dd515 /gdb | |
parent | 0a4a0f097b998b35b3b3a5fcfc89d9ea444a80cb (diff) | |
download | gdb-d2712f0267e60f18dd8238f2ab82983c00c0249b.zip gdb-d2712f0267e60f18dd8238f2ab82983c00c0249b.tar.gz gdb-d2712f0267e60f18dd8238f2ab82983c00c0249b.tar.bz2 |
* config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
redefined warnings.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/config/m68k/xm-hp300bsd.h | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e448b55..1f25aa0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon May 10 22:13:23 1993 Jim Kingdon (kingdon@cygnus.com) + + * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX + redefined warnings. + Mon May 10 20:00:43 1993 Fred Fish (fnf@cygnus.com) * README, NEWS: Update for gdb 4.9 release. diff --git a/gdb/config/m68k/xm-hp300bsd.h b/gdb/config/m68k/xm-hp300bsd.h index 54800fd..d5b6703 100644 --- a/gdb/config/m68k/xm-hp300bsd.h +++ b/gdb/config/m68k/xm-hp300bsd.h @@ -25,12 +25,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_BYTE_ORDER BIG_ENDIAN -/* 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 */ +/* Avoid "INT_MIN redefined" preprocessor warnings by defining them here. */ +#include <sys/param.h> /* Get rid of any system-imposed stack limit if possible. */ |