Explorar o código

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

Ryan C. Gordon %!s(int64=5) %!d(string=hai) anos
pai
achega
3808b120dc
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/locale/SDL_syslocale.h

+ 8 - 0
src/locale/SDL_syslocale.h

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