mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix TCGETS2 search on Darwin.
This commit is contained in:
parent
883e3b0bea
commit
6a57695ab3
1 changed files with 4 additions and 1 deletions
|
|
@ -10,7 +10,10 @@ version_date = '2022-02-13'
|
||||||
|
|
||||||
# Test for dynamic baudrate configuration interface
|
# Test for dynamic baudrate configuration interface
|
||||||
compiler = meson.get_compiler('c')
|
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 for supported baudrates
|
||||||
test_baudrates = [
|
test_baudrates = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue