diff options
| author | Petr Hosek <phosek@chromium.org> | 2016-10-10 18:53:32 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2016-10-10 18:53:32 +0000 |
| commit | 50a92304aaa558130521129ab81fc8397efd5ee0 (patch) | |
| tree | f8164b468a113d5eccc59b6bcfb9f0cd233af554 /libcxx/src/include/config_elast.h | |
| parent | 7a7b35ae3bbd5037d920146f29048f804921c5cb (diff) | |
| download | bcm5719-llvm-50a92304aaa558130521129ab81fc8397efd5ee0.tar.gz bcm5719-llvm-50a92304aaa558130521129ab81fc8397efd5ee0.zip | |
[libcxx] Add support for Fuchsia
Fuchsia is a new operating system which uses musl as the standard
C library, libc++ and libc++abi as the C++ standard library.
Differential Revision: https://reviews.llvm.org/D25414
llvm-svn: 283788
Diffstat (limited to 'libcxx/src/include/config_elast.h')
| -rw-r--r-- | libcxx/src/include/config_elast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/src/include/config_elast.h b/libcxx/src/include/config_elast.h index 9d6a76b0c00..53b3184d4c1 100644 --- a/libcxx/src/include/config_elast.h +++ b/libcxx/src/include/config_elast.h @@ -20,6 +20,8 @@ #define _LIBCPP_ELAST ELAST #elif defined(_NEWLIB_VERSION) #define _LIBCPP_ELAST __ELASTERROR +#elif defined(__Fuchsia__) +// No _LIBCPP_ELAST needed on Fuchsia #elif defined(__linux__) #define _LIBCPP_ELAST 4095 #elif defined(__APPLE__) |

