brintos

brintos / llvm-project-archived public Read only

0
0
Text · 991 B · 28f7ced Raw
39 lines · c
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP___FILESYSTEM_SPACE_INFO_H11#define _LIBCPP___FILESYSTEM_SPACE_INFO_H12 13#include <__config>14#include <cstdint>15 16#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)17#  pragma GCC system_header18#endif19 20#if _LIBCPP_STD_VER >= 1721 22_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM23 24struct space_info {25  uintmax_t capacity;26  uintmax_t free;27  uintmax_t available;28 29#  if _LIBCPP_STD_VER >= 2030  friend _LIBCPP_HIDE_FROM_ABI bool operator==(const space_info&, const space_info&) = default;31#  endif32};33 34_LIBCPP_END_NAMESPACE_FILESYSTEM35 36#endif // _LIBCPP_STD_VER >= 1737 38#endif // _LIBCPP___FILESYSTEM_SPACE_INFO_H39