X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..d5d484b0fbe924d3663b177965538d517ee412c1:/icuSources/tools/toolutil/ucbuf.h diff --git a/icuSources/tools/toolutil/ucbuf.h b/icuSources/tools/toolutil/ucbuf.h index e8d5a768..abb36c85 100644 --- a/icuSources/tools/toolutil/ucbuf.h +++ b/icuSources/tools/toolutil/ucbuf.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 1998-2001, International Business Machines +* Copyright (C) 1998-2005, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -17,11 +17,10 @@ ******************************************************************************* */ -#include "unicode/utypes.h" #include "unicode/ucnv.h" #include "filestrm.h" -#include "cmemory.h" -#include + +#if !UCONFIG_NO_CONVERSION #ifndef UCBUF_H #define UCBUF_H 1 @@ -103,7 +102,7 @@ ucbuf_getcx32(UCHARBUF* buf,UErrorCode* err); * indicates a failure on entry, the function will immediately return. * On exit the value will indicate the success of the operation. * Error: U_TRUNCATED_CHAR_FOUND - * @return Pointer to the internal buffer + * @return Pointer to the internal buffer, NULL if EOF */ U_CAPI const UChar* U_EXPORT2 ucbuf_readline(UCHARBUF* buf,int32_t* len, UErrorCode* err); @@ -194,3 +193,5 @@ U_CAPI const char* U_EXPORT2 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status); #endif +#endif +