]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/string.h
more files to ignore (build dirs names, tags files)
[wxWidgets.git] / include / wx / string.h
index f9155fbf60e9114c06c8a3bbb3bddff225be913f..5d605f2e765d3ea09aed3b3d5afeb8505b1177aa 100644 (file)
 // constants
 // ----------------------------------------------------------------------------
 
+#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
+// must define this in .cpp for VA or else you get multiply defined symbols everywhere
+extern const unsigned int wxSTRING_MAXLEN;
+
+#else
 // maximum possible length for a string means "take all string" everywhere
 //  (as sizeof(StringData) is unknown here, we substract 100)
 const unsigned int wxSTRING_MAXLEN = UINT_MAX - 100;
 
+#endif
+
 // ----------------------------------------------------------------------------
 // global data
 // ----------------------------------------------------------------------------