Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fa3222f

Browse files
committed
define HAVE_PTHREADS
1 parent 6758f2c commit fa3222f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

third_party/txt/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ source_set("txt") {
4545
defines += [ "FLUTTER_ENABLE_SKSHAPER" ]
4646
}
4747

48+
if (is_linux || is_android || is_fuchsia) {
49+
defines += [ "HAVE_PTHREADS" ]
50+
}
51+
4852
sources = [
4953
"src/log/log.cc",
5054
"src/log/log.h",

tools/font-subset/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ executable("font-subset") {
88
"main.cc",
99
]
1010

11+
defines = []
12+
if (is_linux || is_android || is_fuchsia) {
13+
defines += [ "HAVE_PTHREADS" ]
14+
}
15+
1116
deps = [ "//third_party/harfbuzz" ]
1217

1318
libs = []

0 commit comments

Comments
 (0)