Commit 25697e82 authored by dscho's avatar dscho

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

parent 282b071a
...@@ -7,8 +7,8 @@ INCLUDES=-I. ...@@ -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) ...@@ -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; ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment