mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
locale: Make sure C++ implementations (Haiku!) use C linkage.
This commit is contained in:
@@ -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: */
|
||||||
|
Reference in New Issue
Block a user