Skip to content

Commit 70cae29

Browse files
committed
fixup! fixup! meson: wip: cleanups.
1 parent 7008dfe commit 70cae29

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/port/meson.build

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ replace_funcs_neg = [
6666
['strnlen'],
6767
]
6868

69+
if host_system != 'win32'
70+
replace_funcs_neg += [['pthread_barrier_wait']]
71+
endif
72+
6973
# Replacement functionality to be built if corresponding configure symbol
7074
# is true
7175
replace_funcs_pos = [
@@ -130,9 +134,6 @@ if (host_system == 'win32' or host_system == 'cygwin') and \
130134
host_system, cc.get_id(), cc.version()))
131135
endif
132136

133-
if not cdata.has('HAVE_PTHREAD_BARRIER_WAIT') and host_system != 'win32'
134-
pgport_sources += files('pthread_barrier_wait.c')
135-
endif
136137

137138

138139
# Build pgport once for backend, once for use in frontend binaries, and once

0 commit comments

Comments
 (0)