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.

28 lines
633 B

  1. // uncaught -- uncaught_exception for Microsoft
  2. #if 1300 <= _MSC_VER
  3. #include <eh.h>
  4. #include <exception>
  5. _STD_BEGIN
  6. _CRTIMP2 bool __cdecl uncaught_exception()
  7. { // report if handling a throw
  8. return (__uncaught_exception());
  9. }
  10. _STD_END
  11. #else /* 1300 <= _MSC_VER */
  12. #include <exception>
  13. _STD_BEGIN
  14. _CRTIMP2 bool __cdecl uncaught_exception()
  15. { // report if handling a throw -- dummy
  16. return (false);
  17. }
  18. _STD_END
  19. #endif /* 1300 <= _MSC_VER */
  20. /*
  21. * Copyright (c) 1992-2001 by P.J. Plauger. ALL RIGHTS RESERVED.
  22. * Consult your license regarding permissions and restrictions.
  23. V3.10:0009 */