summaryrefslogtreecommitdiff
path: root/extra/mariabackup/ds_stdout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/ds_stdout.cc')
-rw-r--r--extra/mariabackup/ds_stdout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/ds_stdout.cc b/extra/mariabackup/ds_stdout.cc
index 08776e99329..a9639ff7739 100644
--- a/extra/mariabackup/ds_stdout.cc
+++ b/extra/mariabackup/ds_stdout.cc
@@ -75,7 +75,7 @@ stdout_open(ds_ctxt_t *ctxt __attribute__((unused)),
stdout_file = (ds_stdout_file_t *) (file + 1);
-#ifdef __WIN__
+#ifdef _WIN32
setmode(fileno(stdout), _O_BINARY);
#endif