summaryrefslogtreecommitdiff
path: root/extra/mariabackup/xbstream_read.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariabackup/xbstream_read.cc')
-rw-r--r--extra/mariabackup/xbstream_read.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/xbstream_read.cc b/extra/mariabackup/xbstream_read.cc
index 84bb279aba0..b54a98157ea 100644
--- a/extra/mariabackup/xbstream_read.cc
+++ b/extra/mariabackup/xbstream_read.cc
@@ -43,7 +43,7 @@ xb_stream_read_new(void)
stream = (xb_rstream_t *) my_malloc(PSI_NOT_INSTRUMENTED, sizeof(xb_rstream_t), MYF(MY_FAE));
-#ifdef __WIN__
+#ifdef _WIN32
setmode(fileno(stdin), _O_BINARY);
#endif