summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2015-07-06 15:39:36 +0000
committerEd Schouten <ed@nuxi.nl>2015-07-06 15:39:36 +0000
commit2a80cab90e103dce24ea65768176c88eddcd23f5 (patch)
tree9520060179304a47c2c21d5cef322f301eed8b97 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent2a7ab629e5d44ca69fa66b36549117ace5e9b063 (diff)
downloadbcm5719-llvm-2a80cab90e103dce24ea65768176c88eddcd23f5.tar.gz
bcm5719-llvm-2a80cab90e103dce24ea65768176c88eddcd23f5.zip
Make locale code compile on CloudABI.
After r241454 landed, libc++'s locale code compiles on CloudABI, with the exception of the following two bits: - CloudABI doesn't have setlocale(), as the C library does not keep track of any global state. The global locale is always set to "C". Disable the call to setlocale() on this system. - Similarly, mbtowc_l() is also not present, as it is also not thread-safe. As CloudABI does not support state-dependent encodings, simply disable that part of the logic. The locale code now compiles out of the box on CloudABI. Differential Revision: http://reviews.llvm.org/D10729 Reviewed by: jroelofs llvm-svn: 241455
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud