mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 18:37:40 +00:00
locale: Make sure C++ implementations (Haiku!) use C linkage.
This commit is contained in:
parent
20ed8019c9
commit
3808b120dc
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue