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.

34 lines
852 B

  1. #ifndef _DEBUG_MACROS_H_INCLUDED_
  2. #define _DEBUG_MACROS_H_INCLUDED_
  3. /* \nt\public\sdk\inc\nti386.h(389) : warning C4214: nonstandard extension used : bit field types other than int */
  4. #pragma warning( disable:4214 )
  5. /* tsmem.c(11) : warning C4514: 'Int64ShllMod32' : unreferenced inline function has been removed */
  6. #pragma warning( disable:4514 )
  7. #include <nt.h>
  8. #include <ntrtl.h>
  9. #include <nturtl.h>
  10. #include <windows.h>
  11. #include <winsock2.h>
  12. #include <basetyps.h>
  13. #include <stdio.h>
  14. #include "dbgutil.h"
  15. #ifdef ASSERT
  16. # undef ASSERT
  17. #endif
  18. VOID _AssertionFailed( PSTR pszExpression, PSTR pszFilename, ULONG LineNo );
  19. #define ASSERT( expr ) DBG_ASSERT( expr )
  20. #define PRINT(a) printf a
  21. #define PRINT_A(a) printf a
  22. #define PRINT_U(a) wprintf a
  23. #define BREAKPOINT() DebugBreak();
  24. #endif /* INCLUDED */