xref: /AOO42X/main/autodoc/source/cosv/comphelp/badcast.cxx (revision b1c5455db1639c48e26c568e4fa7ee78ca5d60ee)
1*8a106958SDamjan Jovanovic /**************************************************************
2*8a106958SDamjan Jovanovic  *
3*8a106958SDamjan Jovanovic  * Licensed to the Apache Software Foundation (ASF) under one
4*8a106958SDamjan Jovanovic  * or more contributor license agreements.  See the NOTICE file
5*8a106958SDamjan Jovanovic  * distributed with this work for additional information
6*8a106958SDamjan Jovanovic  * regarding copyright ownership.  The ASF licenses this file
7*8a106958SDamjan Jovanovic  * to you under the Apache License, Version 2.0 (the
8*8a106958SDamjan Jovanovic  * "License"); you may not use this file except in compliance
9*8a106958SDamjan Jovanovic  * with the License.  You may obtain a copy of the License at
10*8a106958SDamjan Jovanovic  *
11*8a106958SDamjan Jovanovic  *   http://www.apache.org/licenses/LICENSE-2.0
12*8a106958SDamjan Jovanovic  *
13*8a106958SDamjan Jovanovic  * Unless required by applicable law or agreed to in writing,
14*8a106958SDamjan Jovanovic  * software distributed under the License is distributed on an
15*8a106958SDamjan Jovanovic  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8a106958SDamjan Jovanovic  * KIND, either express or implied.  See the License for the
17*8a106958SDamjan Jovanovic  * specific language governing permissions and limitations
18*8a106958SDamjan Jovanovic  * under the License.
19*8a106958SDamjan Jovanovic  *
20*8a106958SDamjan Jovanovic  *************************************************************/
21*8a106958SDamjan Jovanovic 
22*8a106958SDamjan Jovanovic 
23*8a106958SDamjan Jovanovic 
24*8a106958SDamjan Jovanovic 
25*8a106958SDamjan Jovanovic 
26*8a106958SDamjan Jovanovic /* Include this for instantiating bad-cast,
27*8a106958SDamjan Jovanovic    due to problems with WNT-STL-headers.
28*8a106958SDamjan Jovanovic */
29*8a106958SDamjan Jovanovic 
30*8a106958SDamjan Jovanovic #if defined(WNT) && !defined(__MINGW32__)
31*8a106958SDamjan Jovanovic 
32*8a106958SDamjan Jovanovic #define _NTSDK
33*8a106958SDamjan Jovanovic #include<typeinfo>
34*8a106958SDamjan Jovanovic 
35*8a106958SDamjan Jovanovic _STD_BEGIN
36*8a106958SDamjan Jovanovic bad_cast G_Dummy_Inst_bad_cast;
37*8a106958SDamjan Jovanovic _STD_END
38*8a106958SDamjan Jovanovic #endif // WNT
39