summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2003-02-08 14:26:39 +0000
committerdscho <dscho>2003-02-08 14:26:39 +0000
commit9f6a47087b28fc230e804da404798acb9641cb4e (patch)
tree2cd09d3004d7142637efc42f74b6722122f27c1d /main.c
parent6c78073285536d214d877eae42bf534f79fdd8b2 (diff)
downloadlibtdevnc-9f6a47087b28fc230e804da404798acb9641cb4e.tar.gz
libtdevnc-9f6a47087b28fc230e804da404798acb9641cb4e.zip
autoconf'ed everything
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index eeeb163..dddd961 100644
--- a/main.c
+++ b/main.c
@@ -32,7 +32,7 @@
#include "rfb.h"
#include "sraRegion.h"
-#ifdef HAVE_PTHREADS
+#ifdef HAVE_LIBPTHREAD
MUTEX(logMutex);
#endif
@@ -130,7 +130,7 @@ void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,in
#if 0
/* TODO: is this needed? Or does it mess up deferring? */
/* while(!sraRgnEmpty(cl->copyRegion)) */ {
-#ifdef HAVE_PTHREADS
+#ifdef HAVE_LIBPTHREAD
if(!cl->screen->backgroundLoop)
#endif
{
@@ -231,7 +231,7 @@ void rfbMarkRectAsModified(rfbScreenInfoPtr rfbScreen,int x1,int y1,int x2,int y
sraRgnDestroy(region);
}
-#ifdef HAVE_PTHREADS
+#ifdef HAVE_LIBPTHREAD
static void *
clientOutput(void *data)
{
@@ -796,7 +796,7 @@ rfbProcessEvents(rfbScreenInfoPtr rfbScreen,long usec)
void rfbRunEventLoop(rfbScreenInfoPtr rfbScreen, long usec, Bool runInBackground)
{
if(runInBackground) {
-#ifdef HAVE_PTHREADS
+#ifdef HAVE_LIBPTHREAD
pthread_t listener_thread;
rfbScreen->backgroundLoop = TRUE;