locale: Make sure C++ implementations (Haiku!) use C linkage.

This commit is contained in:
Ryan C. Gordon 2020-05-19 03:14:46 -04:00
parent 20ed8019c9
commit 3808b120dc

View File

@ -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: */