llvm-project/libcxx/include/support
Vasileios Kalintiris 8c58e92cd8 Add initial support for the MUSL C library.
Summary:
This patch adds the LIBCXX_LIBC_IS_MUSL cmake option to allow the
building of libcxx with the Musl C library. The option is necessary as
Musl does not provide any predefined macro in order to test for its
presence, like GLIBC. Most of the changes specify the correct path to
choose through the various #if/#else constructs in the locale code.

Depends on D13407.

Reviewers: mclow.lists, jroelofs, EricWF

Subscribers: jfb, tberghammer, danalbert, srhines, cfe-commits

Differential Revision: http://reviews.llvm.org/D13673

llvm-svn: 252457
2015-11-09 10:21:04 +00:00
..
android Support newlib as libc++'s C library [locale part] 2014-09-19 20:09:12 +00:00
ibm Patch by Xing Xue to improve libc++ support for AIX 2013-11-19 19:16:03 +00:00
musl Add initial support for the MUSL C library. 2015-11-09 10:21:04 +00:00
newlib Support newlib as libc++'s C library [locale part] 2014-09-19 20:09:12 +00:00
solaris Get libc++ building on Sun Solaris. Patch from C Bergstrom. 2015-01-23 22:22:36 +00:00
win32 cmath: account for MSVCRT 12.0 changes 2015-02-28 20:18:39 +00:00
xlocale Support newlib as libc++'s C library [locale part] 2014-09-19 20:09:12 +00:00