Explicitly mark rstl::wstring_l weak for now

This commit is contained in:
Luke Street 2024-09-30 00:09:05 -06:00
parent 24c42469fb
commit e1b3244174
1 changed files with 8 additions and 1 deletions

View File

@ -138,7 +138,14 @@ bool basic_string< _CharTp, Traits, Alloc >::operator<(const basic_string& other
typedef basic_string< wchar_t > wstring; typedef basic_string< wchar_t > wstring;
typedef basic_string< char > string; typedef basic_string< char > string;
wstring wstring_l(const wchar_t* data) { return wstring(wstring::literal_t(), data); } #ifdef __MWERKS__
__declspec(weak) // TODO
#else
static
#endif
wstring wstring_l(const wchar_t* data) {
return wstring(wstring::literal_t(), data);
}
string string_l(const char* data); string string_l(const char* data);
// { // {