mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Merge pull request #135 from sly74fr/feature/macos_meson_build
Fix TCGETS2 search on Darwin.
This commit is contained in:
commit
2f51e8368f
1 changed files with 4 additions and 1 deletions
|
|
@ -10,7 +10,10 @@ version_date = '2022-02-13'
|
|||
|
||||
# Test for dynamic baudrate configuration interface
|
||||
compiler = meson.get_compiler('c')
|
||||
tcgets2 = compiler.get_define('TCGETS2', prefix: '#include <asm/termios.h>')
|
||||
tcgets2 = ''
|
||||
if compiler.check_header('<asm/termios.h>')
|
||||
tcgets2 = compiler.get_define('TCGETS2', prefix: '#include <asm/termios.h>')
|
||||
endif
|
||||
|
||||
# Test for supported baudrates
|
||||
test_baudrates = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue