Fix MSVC-related #defines and add CMakeLists comment
This commit is contained in:
parent
8ba9ac0f74
commit
5d10b212ec
6 changed files with 11 additions and 11 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue