mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 01:52:30 +00:00
refactor(debug): change build macro to WHOA_BUILD_ASSERTIONS
This commit is contained in:
parent
3a9129f69c
commit
24bbe15796
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
#include "bc/system/System_Debug.hpp"
|
#include "bc/system/System_Debug.hpp"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#if defined(WHOA_ASSERTIONS_ENABLED)
|
#if defined(WHOA_BUILD_ASSERTIONS)
|
||||||
#define BC_ASSERT(x) \
|
#define BC_ASSERT(x) \
|
||||||
if (!(x)) { \
|
if (!(x)) { \
|
||||||
Blizzard::Debug::Assert(#x, __FILE__, __LINE__); \
|
Blizzard::Debug::Assert(#x, __FILE__, __LINE__); \
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 569b29254294478356859c92110e1fb343cca346
|
Subproject commit cf99a6c976ba6ab7c774b2656d87e8a5722ef827
|
||||||
Loading…
Add table
Add a link
Reference in a new issue