fix msvc incompat.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5624 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-02-16 19:13:55 +00:00
parent e42558cd60
commit e38b1faa3e

View file

@ -1017,7 +1017,7 @@ static struct
//hide these symbols from shitty exports scanners so we don't look like the keylogger that we aren't. Note the 'vid.activeapp' requirement below - we are not a keylogger, we only see a limited set of keys and only when we already have focus.
HHOOK (WINAPI *pSetWindowsHookEx) (int idHook, HOOKPROC lpfn, HINSTANCE hmod, DWORD dwThreadId); //W and A versions have the same signature.
LRESULT (WINAPI *pCallNextHookEx) (HHOOK hhk, int nCode, WPARAM wParam, LPARAM lParam);
WINBOOL (WINAPI *pUnhookWindowsHookEx) (HHOOK hhk);
BOOL (WINAPI *pUnhookWindowsHookEx) (HHOOK hhk);
} winkeys;
cvar_t sys_disableWinKeys = CVAR("sys_disableWinKeys", "0");