[vlc-commits] compat: add some more thread locale constants
Rémi Denis-Courmont
git at videolan.org
Sat Aug 31 15:26:32 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 31 16:00:28 2013 +0300| [f2ace0979781552874c937fa2c7977ee389e3b74] | committer: Rémi Denis-Courmont
compat: add some more thread locale constants
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2ace0979781552874c937fa2c7977ee389e3b74
---
include/vlc_fixups.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 4340583..26bba5e 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -218,8 +218,10 @@ int posix_memalign (void **, size_t, size_t);
/* locale.h */
#ifndef HAVE_USELOCALE
+#define LC_ALL_MASK 0
#define LC_NUMERIC_MASK 0
#define LC_MESSAGES_MASK 0
+#define LC_GLOBAL_LOCALE ((locale_t)(uintptr_t)1)
typedef void *locale_t;
static inline locale_t uselocale(locale_t loc)
{
More information about the vlc-commits
mailing list