aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-04-12 06:14:46 +0000
committerFred Fish <fnf@specifix.com>1996-04-12 06:14:46 +0000
commitd8efbc667982b811782f23666ac6ce50a47848a1 (patch)
tree801850d99112529ffcfe489ddcedaee1d834ebf5 /gdb/defs.h
parent4eaf7c0a947cb8972ccaa8a7ee18147ace5a1155 (diff)
downloadgdb-d8efbc667982b811782f23666ac6ce50a47848a1.zip
gdb-d8efbc667982b811782f23666ac6ce50a47848a1.tar.gz
gdb-d8efbc667982b811782f23666ac6ce50a47848a1.tar.bz2
From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_HEADERS): check for endian.h. Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK. Add host & target cases for i[345]86-*-gnu*. * config.in: Regenerate with autoheader. * configure: Regenerate with autoconf. * Makefile.in (AR, AWK): Set from corresponding autoconf substs. (init.c): Don't scan mig-generated files. * defs.h (endian.h): Include if HAVE_ENDIAN_H defined. * config/nm-m3.h (ATTACH_NO_WAIT): Define. * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT" rather than "#ifndef MACH".
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 0aaac1d..ce36938 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -706,6 +706,10 @@ extern char *strerror ();
/* HOST_BYTE_ORDER must be defined to one of these. */
+#ifdef HAVE_ENDIAN_H
+#include <endian.h>
+#endif
+
#if !defined (BIG_ENDIAN)
#define BIG_ENDIAN 4321
#endif