diff options
Diffstat (limited to 'examples/pnmshow24.c')
-rw-r--r-- | examples/pnmshow24.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c index 9780419..f44e08b 100644 --- a/examples/pnmshow24.c +++ b/examples/pnmshow24.c @@ -2,11 +2,11 @@ #include <rfb/rfb.h> #include <rfb/keysym.h> -#ifndef ALLOW24BPP +#ifndef LIBVNCSERVER_ALLOW24BPP #error "I need the ALLOW24BPP flag to work" #endif -void HandleKey(Bool down,KeySym key,rfbClientPtr cl) +void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl) { if(down && (key==XK_Escape || key=='q' || key=='Q')) rfbCloseClient(cl); |