X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..efa1e6592fb03ce23b15276b2b91d885a3ee7da5:/icuSources/tools/genccode/genccode.c diff --git a/icuSources/tools/genccode/genccode.c b/icuSources/tools/genccode/genccode.c index 12520c3d..d489fd5d 100644 --- a/icuSources/tools/genccode/genccode.c +++ b/icuSources/tools/genccode/genccode.c @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 1999-2008, International Business Machines + * Copyright (C) 1999-2011, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: gennames.c @@ -19,7 +19,7 @@ #include "unicode/utypes.h" -#ifdef U_WINDOWS +#if U_PLATFORM_HAS_WIN32_API # define VC_EXTRALEAN # define WIN32_LEAN_AND_MEAN # define NOUSER @@ -30,7 +30,7 @@ #include #endif -#ifdef U_LINUX +#if U_PLATFORM_IS_LINUX_BASED # define U_ELF #endif @@ -57,10 +57,6 @@ #include "uoptions.h" #include "pkg_genc.h" -#if defined(U_WINDOWS) || defined(U_ELF) -#define CAN_GENERATE_OBJECTS -#endif - enum { kOptHelpH = 0, kOptHelpQuestionMark,