| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // Note: _LIBCPP_ELAST needs to be defined only on platforms | |
| // where strerror/strerror_r can't handle out-of-range errno values. | |
| // No _LIBCPP_ELAST needed for LLVM libc | |
| // No _LIBCPP_ELAST needed on NuttX | |
| // No _LIBCPP_ELAST needed on Fuchsia | |
| // No _LIBCPP_ELAST needed on WASI | |
| // No _LIBCPP_ELAST needed on Emscripten | |
| // No _LIBCPP_ELAST needed on Apple | |
| // Warn here so that the person doing the libcxx port has an easier time: | |