diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pnmshow24.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c index b59b3b5..b44dc3e 100644 --- a/examples/pnmshow24.c +++ b/examples/pnmshow24.c @@ -3,8 +3,10 @@ #include <rfb/keysym.h> #ifndef LIBVNCSERVER_ALLOW24BPP -#error "I need the ALLOW24BPP flag to work" -#endif +int main() { + printf("I need the ALLOW24BPP LibVNCSever flag to work\n"); +} +#else static void HandleKey(rfbBool down,rfbKeySym key,rfbClientPtr cl) { @@ -88,3 +90,4 @@ int main(int argc,char** argv) return(0); } +#endif |