diff options
author | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-11-18 21:58:58 +0000 |
commit | e0168dbd9ae5e598f6564aa811cdb252330524c1 (patch) | |
tree | 31e899f132a91910c7a0090803a225bc6e9cfbfb /rfb.h | |
parent | 4415df9540afd86671f9169c1542536c71000180 (diff) | |
download | libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.tar.gz libtdevnc-e0168dbd9ae5e598f6564aa811cdb252330524c1.zip |
start x11vnc, an x0rfbserver clone
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,7 +37,8 @@ typedef unsigned char CARD8; typedef unsigned short CARD16; typedef unsigned int CARD32; typedef CARD32 Pixel; -typedef CARD32 KeySym; +/* typedef CARD32 KeySym; */ +typedef unsigned long KeySym; #define SIGNED signed /* for some strange reason, "typedef signed char Bool;" yields a four byte signed int on IRIX, but only for rfbserver.o!!! */ @@ -518,7 +519,7 @@ typedef struct rfbClientRec { ((l) << 24)) -static const int rfbEndianTest = (_BYTE_ORDER == _LITTLE_ENDIAN); +extern char rfbEndianTest; #define Swap16IfLE(s) (rfbEndianTest ? Swap16(s) : (s)) #define Swap24IfLE(l) (rfbEndianTest ? Swap24(l) : (l)) |