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
# These two lines enable useage of PThreads
#CFLAGS += -DHAVE_PTHREADS
#VNCSERVERLIB += -lpthread
CFLAGS += -DHAVE_PTHREADS
VNCSERVERLIB += -lpthread
LIBS=$(LDFLAGS) $(VNCSERVERLIB)

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

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

Loading…
Cancel
Save