#include "wx/wxchar.h"
#include "wx/buffer.h"
+#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
+# undef __BSEXCPT__
+#endif
#include <stdlib.h>
#if wxUSE_WCHAR_T
#define wxMBFILES 0
#endif
-#if wxMBFILES
+#if wxMBFILES && wxUSE_UNICODE
#define wxFNCONV(name) wxConvFile.cWX2MB(name)
#define wxFNSTRINGCAST wxMBSTRINGCAST
#else