Commit 41bbd14e by Jim Wilson

(combine_strings): Add support for WCHAR_TYPE as short.

From-SVN: r10622
parent bd95070a
......@@ -157,7 +157,12 @@ combine_strings (strings)
{
int i;
for (i = 0; i < len; i++)
((int *) q)[i] = TREE_STRING_POINTER (t)[i];
{
if (WCHAR_TYPE_SIZE == HOST_BITS_PER_SHORT)
((short *) q)[i] = TREE_STRING_POINTER (t)[i];
else
((int *) q)[i] = TREE_STRING_POINTER (t)[i];
}
q += len * wchar_bytes;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment