Mercurial > hg > xemacs-beta
diff src/emacs.c @ 251:677f6a0ee643 r20-5b24
Import from CVS: tag r20-5b24
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:19:59 +0200 |
parents | 51092a27c943 |
children | 084402c475ba |
line wrap: on
line diff
--- a/src/emacs.c Mon Aug 13 10:19:12 2007 +0200 +++ b/src/emacs.c Mon Aug 13 10:19:59 2007 +0200 @@ -58,7 +58,7 @@ #endif #endif -#if defined (_WIN32) +#if defined (WINDOWSNT) #include <windows.h> #endif @@ -608,7 +608,7 @@ { close (0); close (1); - if (open (term, O_RDWR, 2) < 0) + if (open (term, O_RDWR | OPEN_BINARY, 2) < 0) fatal ("%s: %s", term, strerror (errno)); dup (0); if (! isatty (0)) @@ -1825,7 +1825,7 @@ unbind_to (0, Qnil); /* this closes loadup.el */ purify_flag = 0; run_temacs_argc = nargs + 1; -#ifdef DEBUG_XEMACS +#ifdef REPORT_PURE_USAGE report_pure_usage (1, 0); #else report_pure_usage (0, 0);