diff options
| author | Petr Hosek <phosek@chromium.org> | 2018-04-11 01:06:28 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2018-04-11 01:06:28 +0000 |
| commit | 2b3846306d4ef05fdf47d0e7d5751449dcc0e8d4 (patch) | |
| tree | a75d569b8383844bb0384d05d9b6d81de6451825 | |
| parent | 72fa9f12a774e77174f38342fd36ae849df19e22 (diff) | |
| download | bcm5719-llvm-2b3846306d4ef05fdf47d0e7d5751449dcc0e8d4.tar.gz bcm5719-llvm-2b3846306d4ef05fdf47d0e7d5751449dcc0e8d4.zip | |
[libcxx] Set ABI version 2 as default for Fuchsia
This avoids the need for a custom generated config file which is desired
because the custom config files differs per-target which means we cannot
reuse headers across different targets.
Differential Revision: https://reviews.llvm.org/D45304
llvm-svn: 329770
| -rw-r--r-- | libcxx/include/__config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 7b9494902d3..8e42abe2629 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -36,7 +36,11 @@ #define _LIBCPP_VERSION 7000 #ifndef _LIBCPP_ABI_VERSION -#define _LIBCPP_ABI_VERSION 1 +# ifdef __Fuchsia__ +# define _LIBCPP_ABI_VERSION 2 +# else +# define _LIBCPP_ABI_VERSION 1 +# endif #endif #if defined(__ELF__) |

