- define GET_XBUTTON_WPARAM for MinGW in all file which need it.

This commit is contained in:
Christoph Oelckers 2015-07-15 14:09:21 +02:00
parent c677dd37f5
commit 47303b26c7

View file

@ -110,6 +110,11 @@
#include "rawinput.h" #include "rawinput.h"
// Compensate for w32api's lack
#ifndef GET_XBUTTON_WPARAM
#define GET_XBUTTON_WPARAM(wParam) (HIWORD(wParam))
#endif
#ifdef _DEBUG #ifdef _DEBUG
#define INGAME_PRIORITY_CLASS NORMAL_PRIORITY_CLASS #define INGAME_PRIORITY_CLASS NORMAL_PRIORITY_CLASS