X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..236a9de39afa090fdee3cf91cb5364ceca69e3f8:/include/wx/strconv.h diff --git a/include/wx/strconv.h b/include/wx/strconv.h index 97239009c4..fa3e22c42d 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -20,6 +20,9 @@ #include "wx/wxchar.h" #include "wx/buffer.h" +#if defined(__VISAGECPP__) && __IBMCPP__ >= 400 +# undef __BSEXCPT__ +#endif #include #if wxUSE_WCHAR_T @@ -149,7 +152,7 @@ WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent; #define wxMBFILES 0 #endif -#if wxMBFILES +#if wxMBFILES && wxUSE_UNICODE #define wxFNCONV(name) wxConvFile.cWX2MB(name) #define wxFNSTRINGCAST wxMBSTRINGCAST #else