Skip to content

Commit

Permalink
locale: Make sure C++ implementations (Haiku!) use C linkage.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 19, 2020
1 parent 20ed801 commit 3808b12
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/locale/SDL_syslocale.h
Expand Up @@ -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: */

0 comments on commit 3808b12

Please sign in to comment.