30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
// Copyright 2020 The Pigweed Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
// use this file except in compliance with the License. You may obtain a copy of
|
|
// the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
// License for the specific language governing permissions and limitations under
|
|
// the License.
|
|
|
|
// This is a fake version of Clang / libc++'s <__config> header. The <__config>
|
|
// header provides various _LIBCPP defines used internally by libc++.
|
|
//
|
|
// In particular, pw_polyfill and pw_minimal_cpp_stdlib need the macros that
|
|
// provide the namespace to use for standard library definitions. This header
|
|
// provides _LIBCPP_BEGIN_NAMESPACE_STD and _LIBCPP_END_NAMESPACE_STD.
|
|
#pragma once
|
|
|
|
#define _LIBCPP_BEGIN_NAMESPACE_STD \
|
|
namespace std { \
|
|
inline namespace __pw_minimal_cpp_stdlib {
|
|
|
|
#define _LIBCPP_END_NAMESPACE_STD \
|
|
} \
|
|
}
|