Skip to content

Commit

Permalink
[WIP] Add -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR' on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Aug 13, 2024
1 parent fc9a5ce commit f30df19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xapian-core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ if stl_debug
add_project_arguments('-D_GLIBCXX_DEBUG', language: 'cpp')
endif
cdata.set10('HAVE_CXX11', true)
if windows_build
add_project_arguments('-D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR', language: 'cpp')
endif

cdata.set_quoted('VERSION', meson.project_version())
cdata.set_quoted('PACKAGE', 'xapian-core')
Expand Down

0 comments on commit f30df19

Please sign in to comment.