summaryrefslogtreecommitdiffstats
path: root/client_examples/scrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'client_examples/scrap.c')
-rw-r--r--client_examples/scrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_examples/scrap.c b/client_examples/scrap.c
index c28800c..0ee22bf 100644
--- a/client_examples/scrap.c
+++ b/client_examples/scrap.c
@@ -14,7 +14,7 @@
#include "rfb/rfbconfig.h"
/* Determine what type of clipboard we are using */
-#if defined(__unix__) && !defined(__QNXNTO__) && defined(LIBVNCSERVER_HAVE_X11)
+#if defined(__unix__) && !defined(__QNXNTO__) && defined(SDL_VIDEO_DRIVER_X11)
#define X11_SCRAP
#elif defined(__WIN32__)
#define WIN_SCRAP