diff --git a/configure.in b/configure.in index fbdbf57aff..53ac671d45 100644 --- a/configure.in +++ b/configure.in @@ -1744,6 +1744,7 @@ WX_CPP_EXPLICIT dnl check whether C++ compiler supports C++ casts AC_CXX_CONST_CAST +AC_CXX_REINTERPRET_CAST AC_CXX_STATIC_CAST dnl check various STL features diff --git a/setup.h.in b/setup.h.in index e6d22cbba2..2115ca9cd8 100644 --- a/setup.h.in +++ b/setup.h.in @@ -163,6 +163,11 @@ */ #undef HAVE_CONST_CAST +/* + * Define if your compiler supports reinterpret_cast<>() + */ +#undef HAVE_REINTERPRET_CAST + /* * Define if your compiler supports static_cast<>() */ diff --git a/setup.h_vms b/setup.h_vms index 9b430079df..b3e8f51567 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -172,6 +172,11 @@ */ #define HAVE_CONST_CAST 1 +/* + * Define if your compiler supports reinterpret_cast<>() + */ +#define HAVE_REINTERPRET_CAST 1 + /* * Define if your compiler supports const_cast<>() */