summaryrefslogtreecommitdiff
path: root/src/include/config_elast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/config_elast.h')
-rw-r--r--src/include/config_elast.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/config_elast.h b/src/include/config_elast.h
index c3cc19c2234f..501cbc4ffeba 100644
--- a/src/include/config_elast.h
+++ b/src/include/config_elast.h
@@ -1,9 +1,8 @@
//===----------------------- config_elast.h -------------------------------===//
//
-// The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
+// 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
//
//===----------------------------------------------------------------------===//
@@ -24,6 +23,8 @@
#define _LIBCPP_ELAST __ELASTERROR
#elif defined(__Fuchsia__)
// No _LIBCPP_ELAST needed on Fuchsia
+#elif defined(__wasi__)
+// No _LIBCPP_ELAST needed on WASI
#elif defined(__linux__) || defined(_LIBCPP_HAS_MUSL_LIBC)
#define _LIBCPP_ELAST 4095
#elif defined(__APPLE__)