mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Only use extern C for C++ builds
This commit is contained in:
parent
10f3a63cec
commit
092ca463d2
@ -181,8 +181,16 @@ static void *dinput_init(void)
|
||||
return di;
|
||||
}
|
||||
|
||||
extern "C" bool doubleclick_on_titlebar_pressed(void);
|
||||
extern "C" void unset_doubleclick_on_titlebar(void);
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
bool doubleclick_on_titlebar_pressed(void);
|
||||
void unset_doubleclick_on_titlebar(void);
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
static void dinput_poll(void *data)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user