diff options
Diffstat (limited to 'example.c')
-rw-r--r-- | example.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -315,6 +315,8 @@ int main(int argc,char** argv) /* this is the blocking event loop, i.e. it never returns */ /* 40000 are the microseconds, i.e. 0.04 seconds */ rfbRunEventLoop(rfbScreen,40000,FALSE); +#elif !defined(HAVE_PTHREADS) +#error "I need pthreads for that." #endif /* this is the non-blocking event loop; a background thread is started */ |