aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index af0f231b37..5b7ff7ba52 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -256,7 +256,7 @@ enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext()
// functions of these names. The declarations would break if the defines had
// been seen at that stage. But it must be before globals.h, where error_ga
// is declared.
-#ifndef WIN32
+#ifndef MSWIN
# define mch_errmsg(str) fprintf(stderr, "%s", (str))
# define mch_msg(str) printf("%s", (str))
#endif