1
0
forked from mirrors/0ad

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:
leper
2015-12-19 01:29:55 +00:00
parent 69ab2bae5b
commit 2239fe338c
7 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2014 Wildfire Games.
/* Copyright (C) 2015 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -67,7 +67,7 @@ void GCSliceCallbackHook(JSRuntime* UNUSED(rt), JS::GCProgress progress, const J
if (progress == JS::GCProgress::GC_CYCLE_BEGIN)
printf("starting cycle ===========================================\n");
const jschar* str = desc.formatMessage(rt);
const char16_t* str = desc.formatMessage(rt);
int len = 0;
for(int i = 0; i < 10000; i++)