Disable transitive includes

This commit is contained in:
Victor Zverovich
2024-01-06 15:11:09 -08:00
parent f73388f1ad
commit ae9b0b521b

View File

@ -33,6 +33,11 @@
#ifndef FMT_FORMAT_H_
#define FMT_FORMAT_H_
#ifndef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
# define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
# define FMT_REMOVE_TRANSITIVE_INCLUDES
#endif
#include <cmath> // std::signbit
#include <cstdint> // uint32_t
#include <cstring> // std::memcpy
@ -4498,4 +4503,9 @@ FMT_END_NAMESPACE
# define FMT_FUNC
#endif
// Restore _LIBCPP_REMOVE_TRANSITIVE_INCLUDES.
#ifdef FMT_REMOVE_TRANSITIVE_INCLUDES
# undef _LIBCPP_REMOVE_TRANSITIVE_INCLUDES
#endif
#endif // FMT_FORMAT_H_