aboutsummaryrefslogtreecommitdiff
path: root/binutils/sysdep.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-25 04:38:13 +0000
committerAlan Modra <amodra@gmail.com>2008-08-25 04:38:13 +0000
commit4cef8a9f87d907d5d188b64178b8f875ca1b03fa (patch)
treef03675628fceb38d563f3e36a254a25403b8318d /binutils/sysdep.h
parent67efbf453f5411553b6d20fc76cb4c18f647e831 (diff)
downloadgdb-4cef8a9f87d907d5d188b64178b8f875ca1b03fa.zip
gdb-4cef8a9f87d907d5d188b64178b8f875ca1b03fa.tar.gz
gdb-4cef8a9f87d907d5d188b64178b8f875ca1b03fa.tar.bz2
* sysdep.h: Include "binary-io.h".
(O_BINARY): Don't define here. * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here. * strings.c: Likewise. (main): Remove #ifdef SET_BINARY. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r--binutils/sysdep.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index e6a89a4..18518dc 100644
--- a/binutils/sysdep.h
+++ b/binutils/sysdep.h
@@ -1,6 +1,7 @@
/* sysdep.h -- handle host dependencies for binutils
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2005, 2006, 2007, 2008
+ Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -36,14 +37,6 @@
#include "fopen-same.h"
#endif
-#ifndef O_BINARY
-#ifdef _O_BINARY
-#define O_BINARY _O_BINARY
-#else
-#define O_BINARY 0
-#endif
-#endif
-
#include <errno.h>
#ifndef errno
extern int errno;
@@ -76,6 +69,8 @@ extern char *strrchr ();
#endif
#endif
+#include "binary-io.h"
+
#if !HAVE_DECL_STPCPY
extern char *stpcpy (char *, const char *);
#endif