diff options
Diffstat (limited to 'binutils/strings.c')
-rw-r--r-- | binutils/strings.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/binutils/strings.c b/binutils/strings.c index 40b53b8..973045e 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -69,17 +69,12 @@ /* Some platforms need to put stdin into binary mode, to read binary files. */ #ifdef HAVE_SETMODE -#ifndef O_BINARY #ifdef _O_BINARY -#define O_BINARY _O_BINARY #define setmode _setmode -#else -#define O_BINARY 0 -#endif #endif #if O_BINARY #include <io.h> -#define SET_BINARY(f) do { if (!isatty (f)) setmode (f,O_BINARY); } while (0) +#define SET_BINARY(f) do { if (!isatty (f)) setmode (f, O_BINARY); } while (0) #endif #endif |