diff options
author | dscho <dscho> | 2001-09-29 13:07:53 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-09-29 13:07:53 +0000 |
commit | 25697e82162be3ebd449ba0eaca61e26916ee95d (patch) | |
tree | 83298b483215c867d120c51ca81f1b84d0dc2bf8 | |
parent | 282b071a43fc9a8a12c9cdb98296a801b9d65fd3 (diff) | |
download | libtdevnc-25697e82162be3ebd449ba0eaca61e26916ee95d.tar.gz libtdevnc-25697e82162be3ebd449ba0eaca61e26916ee95d.zip |
cleaned up pthreads (now compiles) and rfb.h (first undefine TRUE)
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | rfb.h | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -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 |