Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #ifdef _DEBUG
  2. #define ASSERT_D(cond) do { if (!(cond)) __debugbreak(); } while(0)
  3. #else
  4. #define ASSERT_D(cond) do { (void)sizeof(cond); } while(0)
  5. #endif
  6. #define ASSERT_R(cond) do { if (!(cond)) __debugbreak(); } while(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement