X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/3d1f044b704633e2e541231cd17ae9ecf9ad5c7a..HEAD:/icuSources/common/unicode/char16ptr.h diff --git a/icuSources/common/unicode/char16ptr.h b/icuSources/common/unicode/char16ptr.h index d58029f7..c8a9ae6c 100644 --- a/icuSources/common/unicode/char16ptr.h +++ b/icuSources/common/unicode/char16ptr.h @@ -7,9 +7,12 @@ #ifndef __CHAR16PTR_H__ #define __CHAR16PTR_H__ -#include #include "unicode/utypes.h" +#if U_SHOW_CPLUSPLUS_API + +#include + /** * \file * \brief C++ API: char16_t pointer wrappers with @@ -17,7 +20,6 @@ * Also conversion functions from char16_t * to UChar * and OldUChar *. */ -#if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN /** @@ -305,6 +307,7 @@ inline OldUChar *toOldUCharPtr(char16_t *p) { } U_NAMESPACE_END -#endif // U_SHOW_CPLUSPLUS_API + +#endif /* U_SHOW_CPLUSPLUS_API */ #endif // __CHAR16PTR_H__