mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-978 changes for cygwin
X-SVN-Rev: 9260
This commit is contained in:
parent
3a4cd45887
commit
469fe7ed85
4 changed files with 14 additions and 2 deletions
|
@ -232,7 +232,14 @@ typedef unsigned short uint16_t;
|
|||
#define U_EXPORT
|
||||
/* U_CALLCONV is releated to U_EXPORT2 */
|
||||
#define U_EXPORT2
|
||||
#define U_IMPORT
|
||||
#define U_IMPORT
|
||||
|
||||
/* cygwin needs to export/import data */
|
||||
#ifdef U_CYGWIN
|
||||
#define U_DATA_IMPORT __declspec(dllimport)
|
||||
#else
|
||||
#define U_DATA_IMPORT
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Code alignment and C function inlining */
|
||||
|
|
|
@ -144,6 +144,7 @@ typedef unsigned short uint16_t;
|
|||
#define U_EXPORT __declspec(dllexport)
|
||||
#define U_EXPORT2
|
||||
#define U_IMPORT __declspec(dllimport)
|
||||
#define U_DATA_IMPORT __declspec(dllimport)
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Code alignment and C function inlining */
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
U_CAPI const uint8_t
|
||||
utf8_countTrailBytes[256];
|
||||
#else
|
||||
U_CFUNC const uint8_t /* U_IMPORT2? */ U_IMPORT
|
||||
U_CFUNC U_DATA_IMPORT const uint8_t /* U_IMPORT2? */ /*U_IMPORT*/
|
||||
utf8_countTrailBytes[256];
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,6 +23,10 @@ ifneq ($(ENABLE_STATIC),)
|
|||
TARGET = $(LIBICU)ctestfw$(ICULIBSUFFIX).a
|
||||
endif
|
||||
|
||||
CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil
|
||||
DEFS += -DT_CTEST_IMPLEMENTATION
|
||||
|
||||
|
||||
ifneq ($(ENABLE_SHARED),)
|
||||
SO_TARGET = $(LIBICU)ctestfw$(ICULIBSUFFIX).$(SO)
|
||||
ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET)
|
||||
|
|
Loading…
Add table
Reference in a new issue