aboutsummaryrefslogtreecommitdiff
path: root/src/common/msg_handler.h
diff options
context:
space:
mode:
authordarkf <lw9k123@gmail.com>2014-12-29 19:59:14 -0800
committerdarkf <lw9k123@gmail.com>2014-12-29 20:12:03 -0800
commit5d10b212ecebb15fb1463edc08c725d8e29fa44a (patch)
tree206a1417e59815789eca81249734b0eb5497d5e3 /src/common/msg_handler.h
parent8ba9ac0f74abb0408a26207a76a0c1808bad8de0 (diff)
Fix MSVC-related #defines and add CMakeLists comment
Diffstat (limited to 'src/common/msg_handler.h')
-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 b4f3807826..5a483ddb41 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__)