| Index: source/test/intltest/strcase.cpp
|
| diff --git a/source/test/intltest/strcase.cpp b/source/test/intltest/strcase.cpp
|
| index a35d5532782707218cc8296b18681731bfbc148b..01d8db9bd1e4195e0b01ece9def20d2c33b2a581 100644
|
| --- a/source/test/intltest/strcase.cpp
|
| +++ b/source/test/intltest/strcase.cpp
|
| @@ -1,7 +1,7 @@
|
| /*
|
| *******************************************************************************
|
| *
|
| -* Copyright (C) 2002-2013, International Business Machines
|
| +* Copyright (C) 2002-2014, International Business Machines
|
| * Corporation and others. All Rights Reserved.
|
| *
|
| *******************************************************************************
|
| @@ -26,8 +26,7 @@
|
| #include "ucase.h"
|
| #include "ustrtest.h"
|
| #include "unicode/tstdtmod.h"
|
| -
|
| -#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
| +#include "cmemory.h"
|
|
|
| StringCaseTest::~StringCaseTest() {}
|
|
|
| @@ -491,7 +490,7 @@ StringCaseTest::TestCasing() {
|
| // or even just { 0 } as boundaries.
|
| static const UChar rules[] = { 0x2e, 0x2a, 0x3b }; // ".*;"
|
| UParseError parseError;
|
| - iter.adoptInstead(ubrk_openRules(rules, LENGTHOF(rules), NULL, 0, &parseError, &status));
|
| + iter.adoptInstead(ubrk_openRules(rules, UPRV_LENGTHOF(rules), NULL, 0, &parseError, &status));
|
| }
|
| }
|
| #endif
|
|
|