aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-05-11 05:17:40 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-05-11 05:17:40 +0000
commitd2712f0267e60f18dd8238f2ab82983c00c0249b (patch)
tree8d7b1c1be097bd2d835ae33a8c0f059cc88dd515 /gdb/config/m68k
parent0a4a0f097b998b35b3b3a5fcfc89d9ea444a80cb (diff)
downloadgdb-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/config/m68k')
-rw-r--r--gdb/config/m68k/xm-hp300bsd.h8
1 files changed, 2 insertions, 6 deletions
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. */