mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
hid: Rename hid_init to work around static linking issues for now
This commit is contained in:
parent
383f2186de
commit
085d631309
@ -48,6 +48,11 @@ struct HIDState {
|
||||
QemuInputHandlerState *s;
|
||||
};
|
||||
|
||||
#ifdef XBOX
|
||||
/* XXX: `hid_init` conflicts with SDL2 package. Redefine it here for now. */
|
||||
#define hid_init qemu_hid_init
|
||||
#endif
|
||||
|
||||
void hid_init(HIDState *hs, int kind, HIDEventFunc event);
|
||||
void hid_reset(HIDState *hs);
|
||||
void hid_free(HIDState *hs);
|
||||
|
Loading…
Reference in New Issue
Block a user