Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
neheb committed Nov 19, 2024
1 parent 40d1b8f commit d61faec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subprojects/packagefiles/openal-soft/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ vdata.set('LIB_VERSION_NUM', meson.project_version().replace('.', ','))

configure_file(input: 'version.h.in', output: 'version.h', format: 'cmake', configuration: vdata)

if cpp.links('#include <atomic>\n#include <bitset>\nint main(){std::atomic<std::bitset<4u>> b;std::atomic_is_lock_free(&b);}')
if cpp.links('#include <atomic>\nint main(){std::atomic<int[4]>> b;std::atomic_is_lock_free(&b);}')
atomic_dep = dependency('', required: false)
else
atomic_dep = cpp.find_library('atomic', required: false)
Expand Down

0 comments on commit d61faec

Please sign in to comment.