VA 4.0 fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-01-31 14:16:05 +00:00
parent c09d434d55
commit 5d33ed2c6b
6 changed files with 394 additions and 169 deletions

View File

@@ -85,6 +85,12 @@ static const struct
wxChar dummy;
} g_strEmpty = { {-1, 0, 0}, wxT('\0') };
#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
// must define this static for VA or else you get multiply defined symbols everywhere
const unsigned int wxSTRING_MAXLEN = UINT_MAX - 100;
#endif
// empty C style string: points to 'string data' byte of g_strEmpty
extern const wxChar WXDLLEXPORT *wxEmptyString = &g_strEmpty.dummy;