+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1999-2003, International Business Machines Corporation and
+ * Copyright (c) 1999-2013, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unicode/utypes.h"
void TestEuroRegression(void);
void addTestEuroRegression(TestNode** root);
+#if !UCONFIG_NO_LEGACY_CONVERSION
void addTestEuroRegression(TestNode** root)
{
addTest(root, &TestEuroRegression, "tsconv/eurocreg/TestEuroRegression");
* I could not find such "updates" for codepages 1362 and 1363 - we might want to supply them later.
*/
-char convertersToCheck[][15] = {
+static const char convertersToCheck[][15] = {
"cp1250",
"cp1251",
"cp1252",
"cp1253",
/* "cp819",
"cp13488",*/
- "cpibm4971",
+ "ibm-4971",
/*"ibm-9061",*/ /* was "cp869" changed 2002nov25 */
/* "cp813",*/
/*"ibm-9044",*/ /* was "cp852" changed 2002nov25 */
"ibm-5123", /* was "cp1027" changed 2003jan08 */
/* "cp300",*/
/* "cp4930",*/
- "cp1364",
+ "ibm-1364",
/* "cp1362" removed 2000nov28 */
"cp1363",
/* "cp1114", removed 2002jul3
target,
targetSize,
&err);
+ (void)euroBackSize; /* Suppress set but not used warning. */
if (U_FAILURE(err))
{
log_err("Failure Occured in ucnv_toUChars euro roundtrip test\n");
}
}
+#else
+void addTestEuroRegression(TestNode** root)
+{
+ /* test nothing... */
+}
+#endif