mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-214 Fix for Win64. Use x86 assembly for aligning code for x86 machines.
X-SVN-Rev: 8297
This commit is contained in:
parent
630f90dcb3
commit
033575b131
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ typedef unsigned short uint16_t;
|
|||
|
||||
#if ! U_HAVE_INT64_T
|
||||
/* Could use _MSC_VER to detect Microsoft compiler. */
|
||||
typedef __int64 int64_t;
|
||||
typedef signed __int64 int64_t;
|
||||
#endif
|
||||
|
||||
#if ! U_HAVE_UINT64_T
|
||||
|
@ -151,7 +151,7 @@ typedef unsigned short uint16_t;
|
|||
|
||||
#define U_INLINE __inline
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && defined(_M_IX86)
|
||||
#define U_ALIGN_CODE(val) __asm align val
|
||||
#else
|
||||
#define U_ALIGN_CODE(val)
|
||||
|
|
Loading…
Add table
Reference in a new issue