mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-25 12:14:33 -04:00
[misc] fix MinGW compilation issues
This commit is contained in:
parent
a17acd1a22
commit
d3238d7210
4 changed files with 11 additions and 9 deletions
|
@ -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)(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue