Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef _DEBUG
- #define ASSERT_D(cond) do { if (!(cond)) __debugbreak(); } while(0)
- #else
- #define ASSERT_D(cond) do { (void)sizeof(cond); } while(0)
- #endif
- #define ASSERT_R(cond) do { if (!(cond)) __debugbreak(); } while(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement