summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2011-09-23 22:57:06 (GMT)
committerpetasis <petasis@f3661a36-4baa-549a-d6c7-40e0ffef350e>2011-09-23 22:57:06 (GMT)
commit604ceba08aaf9cbb726fa370e49df7a74b96cc13 (patch)
tree419fada0920e6809e920fbe56f44ffeab0b5ba36
parent2498e3e40f3d0f81f73f99866bcaf38ae02b5923 (diff)
downloadtkdnd-604ceba08aaf9cbb726fa370e49df7a74b96cc13.zip
tkdnd-604ceba08aaf9cbb726fa370e49df7a74b96cc13.tar.gz
tkdnd-604ceba08aaf9cbb726fa370e49df7a74b96cc13.tar.bz2
BUG ID: 3411338
-rw-r--r--Changelog4
-rw-r--r--win/OleDND.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 3b0278a..4295fe9 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+2011-09-24 Petasis George <petasis@iit.demokritos.gr>
+ * win/OleDND.h: Added definition of WINVER to version 5, when compiling
+ with MinGW, which defines it with version 4. SF Bug ID: 3411338.
+
2011-09-23 Petasis George <petasis@iit.demokritos.gr>
* win/OleDND.h: Modified STRING_(s), to ease compilation with MinGW.
Patch provided by Hans-Christoph Steiner. SF Bug ID: 3411338.
diff --git a/win/OleDND.h b/win/OleDND.h
index 2d881a9..bf896ee 100644
--- a/win/OleDND.h
+++ b/win/OleDND.h
@@ -42,6 +42,12 @@
#ifndef _OLE_DND_H
#define _OLE_DND_H
+#ifdef __MINGW32__
+#ifndef WINVER
+#define WINVER 0x0500 /* version 5.0 */
+#endif /* !WINVER */
+#endif /* __MINGW32__ */
+
#include <windows.h>
#include <ole2.h>
#include <shlobj.h>