- Fixed compilation on MinGW.
SVN r1612 (trunk)
This commit is contained in:
parent
4e5d5d0f2e
commit
0a310b9832
4 changed files with 14 additions and 8 deletions
|
|
@ -60,9 +60,6 @@
|
|||
#endif
|
||||
|
||||
// Compensate for w32api's lack
|
||||
#ifndef GET_XBUTTON_WPARAM
|
||||
#define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam))
|
||||
#endif
|
||||
#ifndef WM_WTSSESSION_CHANGE
|
||||
#define WM_WTSSESSION_CHANGE 0x02B1
|
||||
#define WTS_CONSOLE_CONNECT 1
|
||||
|
|
@ -70,9 +67,6 @@
|
|||
#define WTS_SESSION_LOCK 7
|
||||
#define WTS_SESSION_UNLOCK 8
|
||||
#endif
|
||||
#ifndef SetClassLongPtr
|
||||
#define SetClassLongPtr SetClassLong
|
||||
#endif
|
||||
#ifndef PBT_APMSUSPEND
|
||||
// w32api does not #define the PBT_ macros in winuser.h like the PSDK does
|
||||
#include <pbt.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue