master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the mingw-w64 runtime package.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6#include <crtdefs.h>
 7
 8#ifndef _INC_TYPEINFO
 9#define _INC_TYPEINFO
10
11#pragma pack(push,_CRT_PACKING)
12
13#ifndef RC_INVOKED
14
15#ifndef __cplusplus
16#error This header requires a C++ compiler ...
17#endif
18
19#include <typeinfo>
20
21#ifdef __RTTI_OLDNAMES
22using std::bad_cast;
23using std::bad_typeid;
24
25typedef type_info Type_info;
26typedef bad_cast Bad_cast;
27typedef bad_typeid Bad_typeid;
28#endif
29#endif
30
31#pragma pack(pop)
32#endif