blob: 6aecb0f01df5f92d205e0f8a074074a6ccf29f69 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#pragma once
// TODO(ZX-1751): The libc++ <limits> defines specializations for
// floating-point types, which in GCC is incompatible with the command-line
// switches used for the kernel. So this header fakes out the other libc++
// headers with a std::numeric_limits that is close enough.
#include <fbl/limits.h>
namespace std {
template <typename T>
using numeric_limits = fbl::numeric_limits<T>;
} // namespace std