OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
except.h
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// ObjectWindows
3// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
4//
5// Reliable include for standard C++ exception classes
6//----------------------------------------------------------------------------
7
8#if !defined(OWL_PRIVATE_EXCEPT_H)
9# define OWL_PRIVATE_EXCEPT_H
10
11#include <owl/private/defs.h>
12#if defined(BI_HAS_PRAGMA_ONCE)
13# pragma once
14#endif
15
16//
17// In a Borland C++ environment, use the file provided
18//
19# if defined(BI_COMP_BORLANDC)
20
21# include <except.h>
22
23//
24// In a non-Borland C++ environment, use the C++ Exception Handling support
25// and add missing components of that support.
26//
27# else
28# if defined(BI_COMP_MSC)
29# include <eh.h>
30# endif
31
32# include <stdlib.h>
33# include <new>
34
35# endif // if/else BI_COMP_BORLANDC
36
37#endif // OWL_PRIVATE_EXCEPT_H