diff options
Diffstat (limited to 'binutils/bin2c.c')
-rw-r--r-- | binutils/bin2c.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/binutils/bin2c.c b/binutils/bin2c.c index b3138e1..a1f0ef5 100644 --- a/binutils/bin2c.c +++ b/binutils/bin2c.c @@ -22,30 +22,6 @@ #include "bfd.h" #include "bucomm.h" -#if !defined O_TEXT && defined _O_TEXT - /* For MSC-compatible compilers. */ -# define O_TEXT _O_TEXT -#endif - -#ifdef __BEOS__ - /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ -# undef O_BINARY -# undef O_TEXT -#endif - -#if O_BINARY -# ifndef __DJGPP__ -# define setmode _setmode -# define fileno(_fp) _fileno (_fp) -# endif /* not DJGPP */ -# define SET_BINARY(_f) \ - do { if (!isatty (_f)) setmode (_f, O_BINARY); } while (0) -#else -# define SET_BINARY(f) (void) 0 -# define O_BINARY 0 -# define O_TEXT 0 -#endif /* O_BINARY */ - int main (int argc, char *argv[]) { |