[misc] fix MinGW compilation issues

This commit is contained in:
Pete Batard 2013-06-04 00:44:49 +01:00
parent a17acd1a22
commit d3238d7210
4 changed files with 11 additions and 9 deletions

View file

@ -41,7 +41,7 @@
#include "rufus.h"
#include "registry.h"
/* Redefinitions for the WDK */
/* Redefinitions for WDK and MinGW */
#ifndef PBM_SETSTATE
#define PBM_SETSTATE (WM_USER+16)
#endif
@ -60,6 +60,9 @@
#ifndef BCM_SETIMAGELIST
#define BCM_SETIMAGELIST 0x1602
#endif
#ifndef DBT_CUSTOMEVENT
#define DBT_CUSTOMEVENT 0x8006
#endif
// MinGW fails to link those
typedef HIMAGELIST (WINAPI *ImageList_Create_t)(