mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
locale: Make sure C++ implementations (Haiku!) use C linkage.
This commit is contained in:
parent
20ed8019c9
commit
3808b120dc
@ -24,6 +24,14 @@
|
|||||||
|
|
||||||
#include "SDL_locale.h"
|
#include "SDL_locale.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
extern void SDL_SYS_GetPreferredLocales(char *buf, size_t buflen);
|
extern void SDL_SYS_GetPreferredLocales(char *buf, size_t buflen);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
Loading…
Reference in New Issue
Block a user