mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 19:06:35 +00:00
The jschar typedef is removed in SpiderMonkey 38.
Since it already is char16_t in 31 replace it by that. https://bugzilla.mozilla.org/show_bug.cgi?id=1063962 This was SVN commit r17506.
This commit is contained in:
@@ -785,7 +785,7 @@ namespace CyclicRefWorkaround
|
||||
|
||||
struct Stringifier
|
||||
{
|
||||
static bool callback(const jschar* buf, uint32 len, void* data)
|
||||
static bool callback(const char16_t* buf, uint32 len, void* data)
|
||||
{
|
||||
utf16string str(buf, buf+len);
|
||||
std::wstring strw(str.begin(), str.end());
|
||||
|
||||
Reference in New Issue
Block a user