diff options
author | dscho <dscho> | 2002-04-23 10:35:00 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-04-23 10:35:00 +0000 |
commit | a73243f8c236d9807644ca34cddbe78fbef87402 (patch) | |
tree | 3e1636c7c821e236c247d0a2c7b29ac944211792 /rfb.h | |
parent | b2865b4f830ebfc3f965a22c3982543fa442fb70 (diff) | |
download | libtdevnc-a73243f8c236d9807644ca34cddbe78fbef87402.tar.gz libtdevnc-a73243f8c236d9807644ca34cddbe78fbef87402.zip |
another solaris clean compile
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -66,15 +66,9 @@ typedef unsigned long KeySym; #include <sys/types.h> #if defined(__sparc) /* SPARC here (big endian) */ -#ifndef _BIG_ENDIAN -#define _BIG_ENDIAN 4321 -#endif -#define _BYTE_ORDER _BIG_ENDIAN +#define _BYTE_ORDER 4321 #elif defined(__i386) -#ifndef _LITTLE_ENDIAN -#define _LITTLE_ENDIAN 1234 -#endif -#define _BYTE_ORDER _LITTLE_ENDIAN +#define _BYTE_ORDER 1234 #else #error Solaris 2.5.1 had ppc support did it not? :-) #endif @@ -98,7 +92,7 @@ typedef unsigned long KeySym; #define _BYTE_ORDER __BYTE_ORDER #endif -#ifndef _LITTLE_ENDIAN +#if !defined(_LITTLE_ENDIAN) && defined(__LITTLE_ENDIAN) #define _LITTLE_ENDIAN __LITTLE_ENDIAN #endif |