msvcrt: Don't define type_info structures as const so we can set demangled class name.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-10-20 13:02:19 +02:00 committed by Alexandre Julliard
parent f7eabdf3a8
commit 7274ed63e2
2 changed files with 4 additions and 4 deletions

View file

@ -68,7 +68,7 @@
#ifndef __x86_64__
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
static const type_info name ## _type_info = { \
static type_info name ## _type_info = { \
&MSVCP_type_info_vtable, \
NULL, \
mangled_name \
@ -140,7 +140,7 @@ static const cxx_exception_type type ## _cxx_type = { \
#else
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
static const type_info name ## _type_info = { \
static type_info name ## _type_info = { \
&MSVCP_type_info_vtable, \
NULL, \
mangled_name \

View file

@ -67,7 +67,7 @@
#ifndef __x86_64__
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
static const type_info name ## _type_info = { \
static type_info name ## _type_info = { \
&MSVCRT_type_info_vtable, \
NULL, \
mangled_name \
@ -113,7 +113,7 @@ const rtti_object_locator name ## _rtti = { \
#else
#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \
static const type_info name ## _type_info = { \
static type_info name ## _type_info = { \
&MSVCRT_type_info_vtable, \
NULL, \
mangled_name \