#include <9pm/windows.h>
#include <9pm/u.h>
#include <9pm/libc.h>

BOOL WINAPI 
GetMessage(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax)
{
	if(win_useunicode)
		return GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);

	return GetMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
}


syntax highlighted by Code2HTML, v. 0.9.1