summaryrefslogtreecommitdiff
path: root/vdagent
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-22 17:20:48 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-24 14:21:50 +0200
commit4ca71770f2cc9d4f187891ee4ad3e9b700905d16 (patch)
tree07e6db6a43d7d9606c7e5885f78d2089446c7dd8 /vdagent
parentde672f8cf216c2e6f1797358e2a43b9b55d9b60a (diff)
build-sys: fix mingw build
Diffstat (limited to 'vdagent')
-rw-r--r--vdagent/vdagent.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index dde967c..e84fb07 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -33,6 +33,11 @@
#define VD_CLIPBOARD_TIMEOUT_MS 3000
#define VD_CLIPBOARD_FORMAT_MAX_TYPES 16
+// only in vista+, not yet in mingw
+#ifndef WM_CLIPBOARDUPDATE
+#define WM_CLIPBOARDUPDATE 0x031D
+#endif
+
//FIXME: extract format/type stuff to win_vdagent_common for use by windows\platform.cpp as well
typedef struct VDClipboardFormat {
uint32_t format;