summaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.c')
-rw-r--r--src/output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output.c b/src/output.c
index 1ef3e607..eddabe03 100644
--- a/src/output.c
+++ b/src/output.c
@@ -34,11 +34,11 @@ this program. If not, see <https://www.gnu.org/licenses/>. */
# include <sys/file.h>
#endif
-#ifdef WINDOWS32
+#if MK_OS_W32
# include <windows.h>
# include <io.h>
# include "sub_proc.h"
-#endif /* WINDOWS32 */
+#endif
struct output *output_context = NULL;
unsigned int stdio_traced = 0;
@@ -151,7 +151,7 @@ pump_from_tmp (int from, FILE *to)
{
static char buffer[8192];
-#ifdef WINDOWS32
+#if MK_OS_W32
int prev_mode;
/* "from" is opened by open_tmpfd, which does it in binary mode, so
@@ -178,7 +178,7 @@ pump_from_tmp (int from, FILE *to)
fflush (to);
}
-#ifdef WINDOWS32
+#if MK_OS_W32
/* Switch "to" back to its original mode, so that log messages by
Make have the same EOL format as without --output-sync. */
_setmode (fileno (to), prev_mode);