diff options
| author | Petr Hosek <phosek@chromium.org> | 2017-04-13 21:29:21 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2017-04-13 21:29:21 +0000 |
| commit | d0e9481c55e1edca268a240359d3acc4c2a212fa (patch) | |
| tree | 321e2a8a253c55ec5fdee3194b400bfbbb9dc7a0 /libcxx/include/support/fuchsia | |
| parent | f571409a02c847ca8cecb0d44afaf2b79f2ca002 (diff) | |
| download | bcm5719-llvm-d0e9481c55e1edca268a240359d3acc4c2a212fa.tar.gz bcm5719-llvm-d0e9481c55e1edca268a240359d3acc4c2a212fa.zip | |
[libcxx] Direct support for Fuchsia
Fuchsia's libc was forked from musl, but has evolved sufficiently
since then so it no longer makes sense to pretend it's musl. This
change implements direct support for Fuchsia rather than
piggybacking on musl support.
Differential Revision: https://reviews.llvm.org/D31970
llvm-svn: 300261
Diffstat (limited to 'libcxx/include/support/fuchsia')
| -rw-r--r-- | libcxx/include/support/fuchsia/xlocale.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libcxx/include/support/fuchsia/xlocale.h b/libcxx/include/support/fuchsia/xlocale.h new file mode 100644 index 00000000000..1de2fca28e2 --- /dev/null +++ b/libcxx/include/support/fuchsia/xlocale.h @@ -0,0 +1,23 @@ +// -*- C++ -*- +//===------------------- support/fuchsia/xlocale.h ------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H +#define _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H + +#if defined(__Fuchsia__) + +#include <cstdlib> +#include <cwchar> +#include <support/xlocale/__posix_l_fallback.h> +#include <support/xlocale/__strtonum_fallback.h> + +#endif // defined(__Fuchsia__) + +#endif // _LIBCPP_SUPPORT_FUCHSIA_XLOCALE_H |

