From 604ceba08aaf9cbb726fa370e49df7a74b96cc13 Mon Sep 17 00:00:00 2001 From: petasis Date: Fri, 23 Sep 2011 22:57:06 +0000 Subject: BUG ID: 3411338 --- Changelog | 4 ++++ win/OleDND.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/Changelog b/Changelog index 3b0278a..4295fe9 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,7 @@ +2011-09-24 Petasis George + * 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 * 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 #include #include -- cgit v0.12