ICU-880 U_ALIGN_CODE and U_INLINE. Add defaults for non Windows/UNIX platforms

X-SVN-Rev: 4624
This commit is contained in:
Andy Heninger 2001-05-08 17:02:18 +00:00
parent 7713040819
commit 37de66cb77
2 changed files with 17 additions and 1 deletions

View File

@ -184,7 +184,7 @@ typedef unsigned short uint16_t;
/*===========================================================================*/ /*===========================================================================*/
#define U_INLINE #define U_INLINE
#define U_ALIGN_CODE #define U_ALIGN_CODE(n)
/*===========================================================================*/ /*===========================================================================*/
/* Programs used by ICU code */ /* Programs used by ICU code */

View File

@ -164,4 +164,20 @@ typedef int8_t UBool;
# define FALSE 0 # define FALSE 0
#endif #endif
/*===========================================================================*/
/* U_INLINE and U_ALIGN_CODE Set default vaues if these are not already */
/* defined. Definitions normally are in */
/* platform.h or the corresponding file for */
/* the OS in use. */
/*===========================================================================*/
#ifndef U_ALIGN_CODE
# define U_ALIGN_CODE(n)
#endif
#ifndef U_INLINE
# define U_INLINE
#endif
#endif #endif