diff options
author | darkf <lw9k123@gmail.com> | 2014-12-29 19:59:14 -0800 |
---|---|---|
committer | darkf <lw9k123@gmail.com> | 2014-12-29 20:12:03 -0800 |
commit | 5d10b212ecebb15fb1463edc08c725d8e29fa44a (patch) | |
tree | 206a1417e59815789eca81249734b0eb5497d5e3 /src/common/log.h | |
parent | 8ba9ac0f74abb0408a26207a76a0c1808bad8de0 (diff) |
Fix MSVC-related #defines and add CMakeLists comment
Diffstat (limited to 'src/common/log.h')
-rw-r--r-- | src/common/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.h b/src/common/log.h index c6a02355..667f2fbb 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -8,7 +8,7 @@ #include "common/msg_handler.h" #include "common/logging/log.h" -#ifdef MSVC_VER +#ifdef _MSC_VER #ifndef __func__ #define __func__ __FUNCTION__ #endif @@ -40,7 +40,7 @@ #define _assert_(_a_) _dbg_assert_(MASTER_LOG, _a_) #ifndef GEKKO -#ifdef _WIN32 +#ifdef _MSC_VER #define _assert_msg_(_t_, _a_, _fmt_, ...) \ if (!(_a_)) {\ if (!PanicYesNo(_fmt_, __VA_ARGS__)) {Crash();} \ |