aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/extensions/XKBstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/include/extensions/XKBstr.h')
-rw-r--r--nx-X11/include/extensions/XKBstr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/nx-X11/include/extensions/XKBstr.h b/nx-X11/include/extensions/XKBstr.h
index bc63f4923..6131c931c 100644
--- a/nx-X11/include/extensions/XKBstr.h
+++ b/nx-X11/include/extensions/XKBstr.h
@@ -33,12 +33,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
/*
* Common data structures and access macros