| Index: source/tools/icupkg/icupkg.cpp
|
| diff --git a/source/tools/icupkg/icupkg.cpp b/source/tools/icupkg/icupkg.cpp
|
| index 5f64660c104d7754e51a781dab088ad478a1adbb..056fc46faca5e70ea603e5ab99f552c0472f0901 100644
|
| --- a/source/tools/icupkg/icupkg.cpp
|
| +++ b/source/tools/icupkg/icupkg.cpp
|
| @@ -1,7 +1,7 @@
|
| /*
|
| *******************************************************************************
|
| *
|
| -* Copyright (C) 2005-2013, International Business Machines
|
| +* Copyright (C) 2005-2014, International Business Machines
|
| * Corporation and others. All Rights Reserved.
|
| *
|
| *******************************************************************************
|
| @@ -47,8 +47,6 @@ U_NAMESPACE_USE
|
|
|
| // general definitions ----------------------------------------------------- ***
|
|
|
| -#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
| -
|
| // main() ------------------------------------------------------------------ ***
|
|
|
| static void
|
| @@ -266,7 +264,7 @@ main(int argc, char *argv[]) {
|
| /* get the program basename */
|
| pname=findBasename(argv[0]);
|
|
|
| - argc=u_parseArgs(argc, argv, LENGTHOF(options), options);
|
| + argc=u_parseArgs(argc, argv, UPRV_LENGTHOF(options), options);
|
| isHelp=options[OPT_HELP_H].doesOccur || options[OPT_HELP_QUESTION_MARK].doesOccur;
|
| if(isHelp) {
|
| printUsage(pname, TRUE);
|
|
|