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.

16 lines
257 B

  1. #ifndef PASSPORTASSERT_HPP
  2. #define PASSPORTASSERT_HPP
  3. #include <stdlib.h>
  4. #include <iostream>
  5. using namespace std;
  6. inline void PassportAssert(bool assertion)
  7. {
  8. if (!assertion)
  9. {
  10. cout << "ASSERT FALIED" << endl;
  11. abort();
  12. }
  13. }
  14. #endif