Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
189 B

  1. #ifndef __APGTSASSERT_H_
  2. #define __APGTSASSERT_H_
  3. #ifdef _DEBUG
  4. #define ASSERT(f) \
  5. do \
  6. { \
  7. if (!(f)) \
  8. DebugBreak(); \
  9. } while (0)
  10. #else
  11. #define ASSERT(f)
  12. #endif //_DEBUG
  13. #endif