Skip to content

Commit

Permalink
ICU-22954 never really hide namespace defs
Browse files Browse the repository at this point in the history
  • Loading branch information
markusicu committed Dec 11, 2024
1 parent ea65502 commit f78d3ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icu4c/source/common/unicode/uversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
U_NAMESPACE_USE
# endif

#ifndef U_HIDE_DRAFT_API
#ifndef U_FORCE_HIDE_DRAFT_API
/**
* \def U_HEADER_NESTED_NAMESPACE
* Nested namespace used inside U_ICU_NAMESPACE for header-only APIs.
Expand Down Expand Up @@ -180,7 +180,7 @@ typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
#define U_HEADER_ONLY_NAMESPACE U_ICU_NAMESPACE::U_HEADER_NESTED_NAMESPACE

namespace U_HEADER_ONLY_NAMESPACE {}
#endif // U_HIDE_DRAFT_API
#endif // U_FORCE_HIDE_DRAFT_API

#endif /* __cplusplus */

Expand Down

0 comments on commit f78d3ff

Please sign in to comment.