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
This commit is contained in:
Tim Northover
2014-03-30 11:34:22 +00:00
parent 8a71d23633
commit c030063cc2

View File

@@ -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)