[PATCH] D13557: Make locale code compile on Linux without GLIBC.

Vasileios Kalintiris via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 8 09:07:46 PDT 2015


vkalintiris created this revision.
vkalintiris added a reviewer: mclow.lists.
vkalintiris added a subscriber: cfe-commits.

Most of the #ifdefs in the locale code would check for the existence of
GLIBC or for operating systems other than Linux. This patch considers the
case where GLIBC isn't available on Linux, and allows the libcxx
library to build successfully when using the musl C library (with a
small patch for the extended locale functions strtoll_l() and
strtoull_l()).

http://reviews.llvm.org/D13557

Files:
  include/__locale
  src/locale.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13557.36863.patch
Type: text/x-patch
Size: 6769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151008/273cf47a/attachment.bin>


More information about the cfe-commits mailing list