- Fixed compilation on MinGW.

SVN r1612 (trunk)
This commit is contained in:
Randy Heit 2009-05-26 22:33:02 +00:00
commit 0a310b9832
4 changed files with 14 additions and 8 deletions

View file

@ -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>