ICU-880 U_ALIGN_CODE and U_INLINE. Works windows, stubs for UNIXes (builds ok)
X-SVN-Rev: 4618
This commit is contained in:
parent
7e1daa1c4c
commit
a4cbd1275c
@ -179,6 +179,13 @@ typedef unsigned short uint16_t;
|
||||
#define U_EXPORT2
|
||||
#define U_IMPORT
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Code alignment and C function inlining */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define U_INLINE
|
||||
#define U_ALIGN_CODE
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Programs used by ICU code */
|
||||
/*===========================================================================*/
|
||||
|
@ -126,6 +126,19 @@ typedef unsigned short uint16_t;
|
||||
#define U_EXPORT2
|
||||
#define U_IMPORT __declspec(dllimport)
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Code alignment and C function inlining */
|
||||
/*===========================================================================*/
|
||||
|
||||
#define U_INLINE __inline
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define U_ALIGN_CODE(val) __asm align val
|
||||
#else
|
||||
#define U_ALIGN_CODE(val)
|
||||
#endif
|
||||
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Programs used by ICU code */
|
||||
/*===========================================================================*/
|
||||
|
Loading…
Reference in New Issue
Block a user