diff options
author | Tim Northover <tnorthover@apple.com> | 2014-03-30 11:34:22 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-03-30 11:34:22 +0000 |
commit | c030063cc2b7a749a0e5b89e7a32d5d10b5f3fe9 (patch) | |
tree | 42e7805af29955d6a1d8cdfae6fea30f434d3931 | |
parent | 8a71d236336705a49257d43ac8d986ba3d5f5060 (diff) | |
download | libcxx_35a-c030063cc2b7a749a0e5b89e7a32d5d10b5f3fe9.tar.gz |
ARM64: use the alternate string layout on Apple platforms.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@205138 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/__config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/__config b/include/__config index 5998ed0f..c8bf9c88 100644 --- a/include/__config +++ b/include/__config @@ -203,6 +203,10 @@ #if defined(__clang__) +#if __APPLE__ && !defined(__i386__) && !defined(__x86_64__) && !defined(__arm__) +#define _LIBCPP_ALTERNATE_STRING_LAYOUT +#endif + #if __has_feature(cxx_alignas) # define _ALIGNAS_TYPE(x) alignas(x) # define _ALIGNAS(x) alignas(x) |