Define INITGUID only for mingw.org compiler

Defining INITGUID causes a build failure with mingw-w64 > r5589.

https://bugzilla.gnome.org/show_bug.cgi?id=699673

(cherry picked from commit 6a71820ff399b32c4a95e7b17979513783c4e052)
This commit is contained in:
Hib Eris
2013-05-13 15:45:18 +02:00
parent 158fc5d9e0
commit c8d52c018b

View File

@ -70,7 +70,11 @@
*
*/
/* The mingw.org compiler does not export GUIDS in it's import library. To work
* around that, define INITGUID to have the GUIDS declared. */
#if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
#define INITGUID
#endif
#include "gdkdnd.h"
#include "gdkproperty.h"