mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
Force pr_keys.c to get linked in.
Nothing in the main program currently uses Key_Progs_Init, so the object file wasn't getting pulled into the link. However, it's quite necessary for the client console plugin :/
This commit is contained in:
parent
8333e6578c
commit
134f9b0e9e
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@
|
|||
#include "compat.h"
|
||||
#include "old_keys.h"
|
||||
|
||||
#define U __attribute__ ((used))
|
||||
static U void (*const key_progs_init)(struct progs_s *) = Key_Progs_Init;
|
||||
#undef U
|
||||
|
||||
/* key up events are sent even if in console mode */
|
||||
|
||||
VISIBLE keydest_t key_dest = key_console;
|
||||
|
|
Loading…
Reference in a new issue