mirror of https://github.com/encounter/SDL.git
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"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void SDL_SYS_GetPreferredLocales(char *buf, size_t buflen);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Reference in New Issue