feat(Core/Misc): replace all prefix preprocessor defines from CompilerDefs with AC_ (#2419)

This commit is contained in:
Kargatum
2019-11-15 23:27:31 +07:00
committed by GitHub
parent f9a8de9be7
commit a3206c56dc
12 changed files with 48 additions and 51 deletions

View File

@@ -29,7 +29,7 @@ namespace Trinity
std::string GetDebugInfo();
#if COMPILER == COMPILER_MICROSOFT
#if AC_COMPILER == AC_COMPILER_MICROSOFT
#define ASSERT_BEGIN __pragma(warning(push)) __pragma(warning(disable: 4127))
#define ASSERT_END __pragma(warning(pop))
#else
@@ -37,7 +37,7 @@ std::string GetDebugInfo();
#define ASSERT_END
#endif
#if PLATFORM == PLATFORM_WINDOWS
#if AC_PLATFORM == AC_PLATFORM_WINDOWS
#define EXCEPTION_ASSERTION_FAILURE 0xC0000420L
#endif