X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94eff479bfad9fd9d1f65bd375ef4ea9bf667c43..97f3b1e939c502a05f2717e52b44919c8254d61e:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 44704739c5..6acc275f86 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -444,6 +444,21 @@ typedef short int WXTYPE; #endif #endif /* HAVE_WOSTREAM */ +// ---------------------------------------------------------------------------- +// other C++ features +// ---------------------------------------------------------------------------- + +#ifndef HAVE_PARTIAL_SPECIALIZATION + // be optimistic by default + #define HAVE_PARTIAL_SPECIALIZATION +#endif + +#ifdef __VISUALC__ + #if __VISUALC__ < 1310 + #undef HAVE_PARTIAL_SPECIALIZATION + #endif +#endif // __VISUALC__ + /* ---------------------------------------------------------------------------- */ /* portable calling conventions macros */ /* ---------------------------------------------------------------------------- */