From 1ed7f54eefa8d55640fcb4b6776b79db14a8c064 Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 4 Oct 2001 12:18:13 +0000 Subject: [PATCH] tried to compile on Sparcs. Original cc has problems. ar isn't there. --- rfb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rfb.h b/rfb.h index 18bb2fa..e5722a7 100644 --- a/rfb.h +++ b/rfb.h @@ -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 +/* typedef unsigned int pthread_t; */ +/* SUN cc seems to have problems with inclusion of sys/types! */ +#else #include #endif #endif +#endif #ifndef _BYTE_ORDER #define _BYTE_ORDER __BYTE_ORDER