summaryrefslogtreecommitdiffstats
path: root/src/common/msg_handler.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/msg_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/msg_handler.h b/src/common/msg_handler.h
index b4f380782..5a483ddb4 100644
--- a/src/common/msg_handler.h
+++ b/src/common/msg_handler.h
@@ -30,7 +30,7 @@ extern bool MsgAlert(bool yes_no, int Style, const char* format, ...)
void SetEnableAlert(bool enable);
#ifndef GEKKO
-#ifdef MSVC_VER
+#ifdef _MSC_VER
#define SuccessAlert(format, ...) MsgAlert(false, INFORMATION, format, __VA_ARGS__)
#define PanicAlert(format, ...) MsgAlert(false, WARNING, format, __VA_ARGS__)
#define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, __VA_ARGS__)