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.

40 lines
713 B

  1. /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. midldebug.h
  5. Abstract:
  6. assert and debugging routines
  7. Notes:
  8. Author:
  9. mzoran Feb-25-2000 Created.
  10. Notes:
  11. ----------------------------------------------------------------------------*/
  12. #if !defined(__MIDLDEBUG_H__)
  13. #define __MIDLDEBUG_H__
  14. #if defined(MIDL_ENABLE_ASSERTS)
  15. int DisplayAssertMsg(char *pFileName, int , char *pExpr );
  16. #define MIDL_ASSERT( expr ) \
  17. ( ( expr ) ? 1 : DisplayAssertMsg( __FILE__ , __LINE__, #expr ) )
  18. #else
  19. #define MIDL_ASSERT( expr )
  20. #endif
  21. #endif // __MIDLDEBUG_H__