diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-16 22:00:18 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-16 22:02:48 -0700 |
commit | 7cc231b806b1cf6c0c7a71efe335efad892860f0 (patch) | |
tree | 906272328150020a712fe72593cdad9933f456a1 /XKBstr.h | |
parent | 95ee49d90c28b15a3c3be54a233368fc69f3531a (diff) |
Drop WORD64 (Cray) support
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'XKBstr.h')
-rw-r--r-- | XKBstr.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -31,13 +31,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #define XkbCharToInt(v) ((v)&0x80?(int)((v)|(~0xff)):(int)((v)&0x7f)) #define XkbIntTo2Chars(i,h,l) (((h)=((i>>8)&0xff)),((l)=((i)&0xff))) - -#if defined(WORD64) && defined(UNSIGNEDBITFIELDS) -#define Xkb2CharsToInt(h,l) ((h)&0x80?(int)(((h)<<8)|(l)|(~0xffff)):\ - (int)(((h)<<8)|(l)&0x7fff)) -#else #define Xkb2CharsToInt(h,l) ((short)(((h)<<8)|(l))) -#endif /* * The Xkb structs are full of implicit padding to properly align members. |