ICU-1227 include the library suffix in the entry point name.

X-SVN-Rev: 7665
This commit is contained in:
Yves Arrouye 2002-02-14 19:19:17 +00:00
parent e4aa23d57e
commit 131e5d45fe
2 changed files with 6 additions and 3 deletions

View File

@ -95,6 +95,9 @@
#define U_DISABLE_RENAMING @U_DISABLE_RENAMING@
#endif
/* Define the library suffix in a C syntax. */
#define U_ICU_LIBRARY_SUFFIX_C_NAME @ICULIBSUFFIXCNAME@
/*===========================================================================*/
/* Platform/Language determination */
/*===========================================================================*/

View File

@ -148,9 +148,9 @@
* The net result will be something of the form
* #define U_ICU_ENTRY_POINT icudt19_dat
*/
#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
#define U_DEF2_ICUDATA_ENTRY_POINT(major, minor) U_DEF_ICUDATA_ENTRY_POINT(major, minor)
#define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##major##minor##_dat
#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM, U_ICU_LIBRARY_SUFFIX_C_NAME)
#define U_DEF2_ICUDATA_ENTRY_POINT(major, minor, suffix) U_DEF_ICUDATA_ENTRY_POINT(major, minor, suffix)
#define U_DEF_ICUDATA_ENTRY_POINT(major, minor, suffix) icudt##major##minor##suffix##_dat
/**
* \def U_CALLCONV