os/ossrv/ossrv_pub/compiler_specific_runtime_support/inc/stdapis/stlport/runtime/typeinfo.h
Update contrib.
5 * This material is provided "as is", with absolutely no warranty expressed
6 * or implied. Any use is at your own risk.
8 * Permission to use or copy this software for any purpose is hereby granted
9 * without fee, provided the above notices are retained on all copies.
10 * Permission to modify the code and to distribute modified code is granted,
11 * provided the above notices are retained, and a notice that the code was
12 * modified is included with the above copyright notice.
16 #ifndef _STLP_OLDSTD_typeinfo
17 # define _STLP_OLDSTD_typeinfo
19 # ifndef _STLP_OUTERMOST_HEADER_ID
20 # define _STLP_OUTERMOST_HEADER_ID 0x874
21 # include <stl/_prolog.h>
24 # ifndef _STLP_NO_TYPEINFO
26 #if defined (__GNUC__)
27 # undef _STLP_OLDSTD_typeinfo
29 # define _STLP_OLDSTD_typeinfo
31 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(typeinfo.h)
34 // if <typeinfo> already included, do not import anything
36 # if defined (_STLP_USE_OWN_NAMESPACE) && ! (defined (_STLP_TYPEINFO) && !defined(_STLP_NO_NEW_NEW_HEADER))
40 using /*_STLP_VENDOR_EXCEPT_STD */ :: type_info;
41 # if !(defined(__MRC__) || (defined(__SC__) && !defined(__DMC__)))
42 using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_typeid;
44 using /* _STLP_VENDOR_EXCEPT_STD */ :: bad_cast;
48 #endif /* _STLP_OWN_NAMESPACE */
50 # endif /* _STLP_NO_TYPEINFO */
52 # if (_STLP_OUTERMOST_HEADER_ID == 0x874)
53 # include <stl/_epilog.h>
54 # undef _STLP_OUTERMOST_HEADER_ID
57 #endif /* _STLP_OLDSTD_typeinfo */