cleaned up pthreads (now compiles) and rfb.h (first undefine TRUE)

pull/1/head
dscho 23 years ago
parent 282b071a43
commit 25697e8216

@ -7,8 +7,8 @@ INCLUDES=-I.
VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg
# These two lines enable useage of PThreads # These two lines enable useage of PThreads
#CFLAGS += -DHAVE_PTHREADS CFLAGS += -DHAVE_PTHREADS
#VNCSERVERLIB += -lpthread VNCSERVERLIB += -lpthread
LIBS=$(LDFLAGS) $(VNCSERVERLIB) LIBS=$(LDFLAGS) $(VNCSERVERLIB)

@ -106,7 +106,7 @@ clientOutput(void *data)
{ {
rfbClientPtr cl = (rfbClientPtr)data; rfbClientPtr cl = (rfbClientPtr)data;
Bool haveUpdate; Bool haveUpdate;
RegionRec updateRegion; sraRegion* updateRegion;
while (1) { while (1) {
haveUpdate = false; haveUpdate = false;

@ -37,7 +37,9 @@ typedef CARD32 KeySym;
/* for some strange reason, "typedef signed char Bool;" yields a four byte /* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on an SGI, but only for rfbserver.o!!! */ signed int on an SGI, but only for rfbserver.o!!! */
#define Bool signed char #define Bool signed char
#undef FALSE
#define FALSE 0 #define FALSE 0
#undef TRUE
#define TRUE -1 #define TRUE -1
#define xalloc malloc #define xalloc malloc

Loading…
Cancel
Save