X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fb2m.c;h=b1941b1cad5c1ba46f5926e3b0b724bc4dc6ec9b;hb=60ad9a0d8081fee7d81df258c165b5c8b7efa03a;hp=d92ea5aeb9ab4f2a971f6b8813294f6693295c74;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2;p=chise%2Fxemacs-chise.git.1 diff --git a/lib-src/b2m.c b/lib-src/b2m.c index d92ea5a..b1941b1 100644 --- a/lib-src/b2m.c +++ b/lib-src/b2m.c @@ -30,7 +30,7 @@ #include #include #include -#ifdef MSDOS +#ifdef WIN32_NATIVE #include #endif @@ -88,17 +88,12 @@ main (int argc, char *argv[]) char *labels = NULL, *p, *today; struct linebuffer data; -#ifdef MSDOS +#ifdef WIN32_NATIVE _fmode = O_BINARY; /* all of files are treated as binary files */ -#if __DJGPP__ > 1 if (!isatty (fileno (stdout))) setmode (fileno (stdout), O_BINARY); if (!isatty (fileno (stdin))) setmode (fileno (stdin), O_BINARY); -#else /* not __DJGPP__ > 1 */ - (stdout)->_flag &= ~_IOTEXT; - (stdin)->_flag &= ~_IOTEXT; -#endif /* not __DJGPP__ > 1 */ #endif progname = argv[0];