Allow building with GCC 2.95.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,8 +259,9 @@ void StringTestCase::ConversionUTF7()
|
|||||||
{
|
{
|
||||||
{ "+-", L"+" },
|
{ "+-", L"+" },
|
||||||
{ "+--", L"+-" },
|
{ "+--", L"+-" },
|
||||||
|
#if !defined(__GNUC__) || (__GNUC__ >= 3)
|
||||||
{ "+AKM-", L"\u00a3" },
|
{ "+AKM-", L"\u00a3" },
|
||||||
|
#endif
|
||||||
// Windows accepts invalid UTF-7 strings and so does our UTF-7
|
// Windows accepts invalid UTF-7 strings and so does our UTF-7
|
||||||
// conversion code -- this is wrong IMO but the way it is for now
|
// conversion code -- this is wrong IMO but the way it is for now
|
||||||
//
|
//
|
||||||
@@ -284,7 +285,9 @@ void StringTestCase::ConversionUTF8()
|
|||||||
{
|
{
|
||||||
static const StringConversionData utf8data[] =
|
static const StringConversionData utf8data[] =
|
||||||
{
|
{
|
||||||
|
#if !defined(__GNUC__) || (__GNUC__ >= 3)
|
||||||
{ "\xc2\xa3", L"\u00a3" },
|
{ "\xc2\xa3", L"\u00a3" },
|
||||||
|
#endif
|
||||||
{ "\xc2", NULL },
|
{ "\xc2", NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user