Leaked source code of windows server 2003
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.

25 lines
516 B

  1. /*
  2. * DEBUG.H
  3. *
  4. * RSM Service : Debug code
  5. *
  6. * Author: ErvinP
  7. *
  8. * (c) 2001 Microsoft Corporation
  9. *
  10. */
  11. #if DEBUG
  12. #define ASSERT(fact) { if (!(fact)) MessageBox(NULL, (LPSTR)#fact, (LPSTR)"NTMSSVC assertion failed", MB_OK); }
  13. #define DBGERR(args_in_parens) // BUGBUG FINISH
  14. #define DBGWARN(args_in_parens) // BUGBUG FINISH
  15. #else
  16. #define ASSERT(fact)
  17. #define DBGERR(args_in_parens)
  18. #define DBGWARN(args_in_parens)
  19. #endif