File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
tools/swift-dependency-tool Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ using namespace fine_grained_dependencies;
28
28
// MARK: SourceFileDepGraph YAML reading & writing
29
29
// ==============================================================================
30
30
31
- // This introduces a redefinition where ever std::is_same_t<size_t, uint64_t>
32
- // holds
33
- #if !(defined(__linux__) || defined(_WIN64))
31
+ // This introduces a redefinition wherever std::is_same_t<size_t, uint64_t>
32
+ // holds.
33
+ #if !(defined(__linux__) || defined(_WIN64) || defined(__FreeBSD__) )
34
34
LLVM_YAML_DECLARE_SCALAR_TRAITS (size_t , QuotingType::None)
35
35
#endif
36
36
LLVM_YAML_DECLARE_ENUM_TRAITS (swift::fine_grained_dependencies::NodeKind)
@@ -88,8 +88,9 @@ LLVM_YAML_DECLARE_MAPPING_TRAITS(
88
88
89
89
namespace llvm {
90
90
namespace yaml {
91
- // This introduces a redefinition for Linux.
92
- #if !(defined(__linux__) || defined(_WIN64))
91
+ // This introduces a redefinition wherever std::is_same_t<size_t, uint64_t>
92
+ // holds.
93
+ #if !(defined(__linux__) || defined(_WIN64) || defined(__FreeBSD__))
93
94
void ScalarTraits<size_t >::output(const size_t &Val, void *, raw_ostream &out) {
94
95
out << Val;
95
96
}
You can’t perform that action at this time.
0 commit comments