diff options
author | dscho <dscho> | 2001-10-04 12:18:13 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-04 12:18:13 +0000 |
commit | 1ed7f54eefa8d55640fcb4b6776b79db14a8c064 (patch) | |
tree | a5e878a7c32a7a9c4b18916fe1ec78c63999d94f /rfb.h | |
parent | bd5fdd670ccae30a31d6b007c312b6d2a1a59cc0 (diff) | |
download | libtdevnc-1ed7f54eefa8d55640fcb4b6776b79db14a8c064.tar.gz libtdevnc-1ed7f54eefa8d55640fcb4b6776b79db14a8c064.zip |
tried to compile on Sparcs. Original cc has problems. ar isn't there.
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -61,9 +61,19 @@ int max(int,int); #define _BYTE_ORDER BYTE_ORDER #define _LITTLE_ENDIAN LITTLE_ENDIAN #else +#ifdef sparc +#define _LITTLE_ENDIAN 1234 +#define _BYTE_ORDER _LITTLE_ENDIAN +#undef Bool +#define Bool char +#include <sys/types.h> +/* typedef unsigned int pthread_t; */ +/* SUN cc seems to have problems with inclusion of sys/types! */ +#else #include <sys/endian.h> #endif #endif +#endif #ifndef _BYTE_ORDER #define _BYTE_ORDER __BYTE_ORDER |