Skip to content

Commit

Permalink
Fix missing funcs on TBB allocator for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Jan 10, 2024
1 parent b6ce2d6 commit 5f22ae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let package = Package(
],
publicHeadersPath: ".",
cxxSettings: [
.define("_XOPEN_SOURCE", to: "1", .when(platforms: Arch.OS.apple.platform)),
.define("_XOPEN_SOURCE", to: "1", .when(platforms: Arch.OS.apple.platform))
]
),

Expand All @@ -62,6 +62,7 @@ let package = Package(
publicHeadersPath: "include",
cxxSettings: [
.define("_XOPEN_SOURCE", to: "1", .when(platforms: Arch.OS.apple.platform)),
.define("TBB_ALLOCATOR_TRAITS_BROKEN", to: "1", .when(platforms: Arch.OS.linux.platform)),
]
),

Expand Down

0 comments on commit 5f22ae4

Please sign in to comment.