]> git.sesse.net Git - vlc/blobdiff - include/vlc_fixups.h
If uselocale() is absent, assume libc does no localization
[vlc] / include / vlc_fixups.h
index 98b6174a805c279f0a40aa8bc7b63fc075889259..ea464a4fb475b111523dd5a4744fb0a55bbd489d 100644 (file)
@@ -156,4 +156,11 @@ VLC_INTERNAL( void, vlc_seekdir, ( void *, long ) );
 VLC_INTERNAL( long, vlc_telldir, ( void * ) );
 #endif
 
+#ifndef HAVE_USELOCALE
+typedef void *locale_t;
+# define newlocale( a, b, c ) ((locale_t)0)
+# define uselocale( a ) ((locale_t)0)
+# define freelocale( a ) (void)0
+#endif
+
 #endif /* !LIBVLC_FIXUPS_H */