mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-561 test U_COMBINED_IMPLEMENTATION to override the other switches
X-SVN-Rev: 3676
This commit is contained in:
parent
e1ddda9a21
commit
83da5893ba
1 changed files with 14 additions and 6 deletions
|
@ -254,7 +254,15 @@ typedef void* UClassID;
|
|||
|
||||
/*
|
||||
* Control of symbol import/export.
|
||||
* The ICU is separated into two libraries.
|
||||
* ICU is separated into three libraries.
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def U_COMBINED_IMPLEMENTATION
|
||||
* Set to export library symbols from inside the ICU library
|
||||
* when all of ICU is in a single library.
|
||||
* This can be set as a compiler option while building ICU, and it
|
||||
* needs to be the first one tested to override U_COMMON_API, U_I18N_API, etc.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -276,7 +284,11 @@ typedef void* UClassID;
|
|||
*/
|
||||
|
||||
|
||||
#ifdef U_COMMON_IMPLEMENTATION
|
||||
#if defined(U_COMBINED_IMPLEMENTATION)
|
||||
#define U_COMMON_API U_EXPORT
|
||||
#define U_I18N_API U_EXPORT
|
||||
#define U_LAYOUT_API U_EXPORT
|
||||
#elif defined(U_COMMON_IMPLEMENTATION)
|
||||
#define U_COMMON_API U_EXPORT
|
||||
#define U_I18N_API U_IMPORT
|
||||
#define U_LAYOUT_API U_IMPORT
|
||||
|
@ -284,10 +296,6 @@ typedef void* UClassID;
|
|||
#define U_COMMON_API U_IMPORT
|
||||
#define U_I18N_API U_EXPORT
|
||||
#define U_LAYOUT_API U_IMPORT
|
||||
#elif defined(U_COMBINED_IMPLEMENTATION)
|
||||
#define U_COMMON_API U_EXPORT
|
||||
#define U_I18N_API U_EXPORT
|
||||
#define U_LAYOUT_API U_EXPORT
|
||||
#elif defined(U_LAYOUT_IMPLEMENTATION)
|
||||
#define U_COMMON_API U_IMPORT
|
||||
#define U_I18N_API U_IMPORT
|
||||
|
|
Loading…
Add table
Reference in a new issue