X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..ba516feee23ef0c2b810ac6365e88f33807caaa8:/icuSources/common/udata.cpp?ds=inline diff --git a/icuSources/common/udata.cpp b/icuSources/common/udata.cpp index 8213beae..c4f8752a 100644 --- a/icuSources/common/udata.cpp +++ b/icuSources/common/udata.cpp @@ -1,7 +1,7 @@ /* ****************************************************************************** * -* Copyright (C) 1999-2010, International Business Machines +* Copyright (C) 1999-2012, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** @@ -14,9 +14,9 @@ * created by: Markus W. Scherer */ -#include "unicode/utypes.h" /* U_LINUX */ +#include "unicode/utypes.h" /* U_PLATFORM etc. */ -#ifdef U_LINUX +#ifdef __GNUC__ /* if gcc #define ATTRIBUTE_WEAK __attribute__ ((weak)) might have to #include some other header @@ -75,7 +75,7 @@ might have to #include some other header U_NAMESPACE_USE /* - * Forwards + * Forward declarations */ static UDataMemory *udata_findCachedData(const char *path); @@ -828,7 +828,7 @@ static UBool extendICUData(UErrorCode *pErr) /* fields in the UDataMemory that we're assigning */ /* to CommonICUData. */ - didUpdate = + didUpdate = /* no longer using this result */ setCommonICUData(©PData,/* The new common data. */ FALSE, /* No warnings if write didn't happen */ pErr); /* setCommonICUData honors errors; NOP if error set */