update credits
[LibreOffice.git] / cosv / source / comphelp / badcast.cxx
blob09afc27ddfc023f6aefc6d2560e8b5b2ac5a1229
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 /* Include this for instantiating bad-cast,
23 due to problems with WNT-STL-headers.
26 // If anybody who happens to read this has any idea what dark magic
27 // this is supposed to achieve, and whether it is needed or in any way
28 // relevant with MSVC2008 (or eventually newer), please add a
29 // comment...
31 #if defined(WNT) && !defined(__MINGW32__)
33 #define _NTSDK
34 #include<typeinfo>
36 _STD_BEGIN
37 bad_cast G_Dummy_Inst_bad_cast;
38 _STD_END
39 #endif // WNT
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */