xref: /llvm-project/libc/src/__support/StringUtil/platform_errors.h (revision 330793c91d08e6ac60334e4813746db898b9407e)
125174976SSiva Chandra Reddy //===-- The error table for the current platform ----------------*- C++ -*-===//
225174976SSiva Chandra Reddy //
325174976SSiva Chandra Reddy // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
425174976SSiva Chandra Reddy // See https://llvm.org/LICENSE.txt for license information.
525174976SSiva Chandra Reddy // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
625174976SSiva Chandra Reddy //
725174976SSiva Chandra Reddy //===----------------------------------------------------------------------===//
825174976SSiva Chandra Reddy 
9*330793c9SNick Desaulniers #ifndef LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_PLATFORM_ERRORS_H
10*330793c9SNick Desaulniers #define LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_PLATFORM_ERRORS_H
1125174976SSiva Chandra Reddy 
1225174976SSiva Chandra Reddy #if defined(__linux__) || defined(__Fuchsia__)
1325174976SSiva Chandra Reddy #include "tables/linux_platform_errors.h"
1425174976SSiva Chandra Reddy #else
1525174976SSiva Chandra Reddy #include "tables/minimal_platform_errors.h"
1625174976SSiva Chandra Reddy #endif
1725174976SSiva Chandra Reddy 
18*330793c9SNick Desaulniers #endif // LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_PLATFORM_ERRORS_H
19