forked from OSchip/llvm-project
ARM64: use the alternate string layout on Apple platforms.
llvm-svn: 205138
This commit is contained in:
parent
a48ecb7639
commit
c3a57e91ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue