Skip to content

Commit

Permalink
Remove confusing <= notation
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Nov 14, 2022
1 parent 5336c09 commit 6b7cf34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test cases/common/36 has function/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ foreach cc : compilers
# Only available on macOS 10.13 or newer
assert(cc.has_function('utimensat',
prefix : '#include <sys/stat.h>'),
'utimensat must be found when targeting macOS <= 10.13')
'utimensat must be found when targeting macOS 10.13')

# Introduced in macOS 11.0
assert(not cc.has_function('pthread_jit_write_protect_np',
prefix : '#include <pthread.h>'),
'pthread_jit_write_protect_np must not be found' +
' when targeting macOS <= 10.13')
' when targeting macOS 10.13')

# Same as above, without `prefix: '#include <pthread.h>'`,
# this is currently incorrectly detected as available, see:
# this is currently incorrectly detected as found, see:
# FIXME: https://github.com/mesonbuild/meson/issues/3482
assert(cc.has_function('pthread_jit_write_protect_np'),
'pthread_jit_write_protect_np must not be found' +
' when targeting macOS <= 10.13')
' when targeting macOS 10.13')
endif
endforeach

0 comments on commit 6b7cf34

Please sign in to comment.