From eeb2061dfb03ea11ba028b33037fa0805d22e6a4 Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 30 Jul 2003 09:42:36 +0000 Subject: API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_" --- examples/example.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/example.c') diff --git a/examples/example.c b/examples/example.c index d53da46..23522ab 100644 --- a/examples/example.c +++ b/examples/example.c @@ -59,7 +59,7 @@ void initBuffer(unsigned char* buffer) /* Here we create a structure so that every client has it's own pointer */ typedef struct ClientData { - Bool oldButton; + rfbBool oldButton; int oldx,oldy; } ClientData; @@ -166,7 +166,7 @@ void doptr(int buttonMask,int x,int y,rfbClientPtr cl) /* Here the key events are handled */ -void dokey(Bool down,KeySym key,rfbClientPtr cl) +void dokey(rfbBool down,rfbKeySym key,rfbClientPtr cl) { if(down) { if(key==XK_Escape) @@ -312,7 +312,7 @@ int main(int argc,char** argv) rfbRunEventLoop(rfbScreen,40000,FALSE); #endif /* OWN LOOP */ #else -#if !defined(HAVE_LIBPTHREAD) +#if !defined(LIBVNCSERVER_HAVE_LIBPTHREAD) #error "I need pthreads for that." #endif -- cgit v1.2.3