Commit c8f8f4a5 authored by Julian Scheel's avatar Julian Scheel Committed by Jean-Baptiste Kempf

nacl: nacl comes with xlocale dummies for C++

The nacl c++ toolchain comes with it's own dummy implementation of
extended locale functions, which are not implemented in newlib.
Thus do not use the vlc_fixups ones in C++ code on Native Client builds,
because the dummy implementations will conflict.
Signed-off-by: Julian Scheel's avatarJulian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b4c4c5be
......@@ -281,6 +281,10 @@ int unsetenv (const char *);
int posix_memalign (void **, size_t, size_t);
#endif
#if defined(__native_client__) && defined(__cplusplus)
# define HAVE_USELOCALE
#endif
/* locale.h */
#ifndef HAVE_USELOCALE
#define LC_ALL_MASK 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment