Source code of Windows XP (NT5)
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.

56 lines
1.8 KiB

  1. /***
  2. *stdexcpt.h - User include file for standard exception classes
  3. *
  4. * Copyright (c) 1994-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This file is the previous location of the standard exception class
  8. * definitions, now found in the standard header <exception>.
  9. *
  10. * [Public]
  11. *
  12. *Revision History:
  13. * 11-15-94 JWM Made logic & exception classes _CRTIMP
  14. * 11-21-94 JWM xmsg typedef now #ifdef __RTTI_OLDNAMES
  15. * 02-11-95 CFW Add _CRTBLD to avoid users getting wrong headers,
  16. * protect with _INC_STDEXCPT.
  17. * 02-14-95 CFW Clean up Mac merge.
  18. * 02-15-95 JWM Minor cleanups related to Olympus bug 3716.
  19. * 07-02-95 JWM Now generally ANSI-compliant; excess baggage removed.
  20. * 12-14-95 JWM Add "#pragma once".
  21. * 03-04-96 JWM Replaced by C++ header "exception".
  22. * 02-21-97 GJF Cleaned out obsolete support for _NTSDK. Also,
  23. * detab-ed.
  24. * 01-06-99 GJF Changes for 64-bit size_t.
  25. * 05-17-99 PML Remove all Macintosh support.
  26. * 10-06-99 PML Add _W64 modifier to types which are 32 bits in Win32,
  27. * 64 bits in Win64.
  28. * 03-17-01 PML Remove everything under #elif 0, leaving just wrapper.
  29. *
  30. ****/
  31. #if _MSC_VER > 1000 /*IFSTRIP=IGN*/
  32. #pragma once
  33. #endif
  34. #ifndef _INC_STDEXCPT
  35. #define _INC_STDEXCPT
  36. #if !defined(_WIN32)
  37. #error ERROR: Only Win32 target supported!
  38. #endif
  39. #ifndef _CRTBLD
  40. /* This version of the header files is NOT for user programs.
  41. * It is intended for use when building the C runtimes ONLY.
  42. * The version intended for public use will not have this message.
  43. */
  44. #error ERROR: Use of C runtime library internal header file.
  45. #endif /* _CRTBLD */
  46. #ifdef __cplusplus
  47. #include <exception>
  48. #endif /* __cplusplus */
  49. #endif /* _INC_STDEXCPT */