Fix MSVC-related #defines and add CMakeLists comment

This commit is contained in:
darkf 2014-12-29 19:59:14 -08:00
parent 8ba9ac0f74
commit 5d10b212ec
6 changed files with 11 additions and 11 deletions

View file

@ -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__)