diff options
author | runge <runge> | 2006-01-08 19:29:21 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-08 19:29:21 +0000 |
commit | def301266373e462f4a5e90eab443087ccfc7ccc (patch) | |
tree | 3ea30a545319b59c1c05cdc4a76174c876f76b23 /examples/pnmshow24.c | |
parent | e781eea698377dd4132006742dd91da6e441c845 (diff) | |
download | libtdevnc-def301266373e462f4a5e90eab443087ccfc7ccc.tar.gz libtdevnc-def301266373e462f4a5e90eab443087ccfc7ccc.zip |
fix client non-jpeg/libz builds
Diffstat (limited to 'examples/pnmshow24.c')
-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 |