Skip to content

Commit

Permalink
Fix incorrect source include of ifaddrs.c and stylistic changes (sctp…
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrahl authored and tuexen committed Jan 14, 2020
1 parent 32020d6 commit f668bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ add_project_arguments([

# OS-specific settings
system = host_machine.system()
if ['linux', 'android'].contains(system)
if system in ['linux', 'android']
add_project_arguments([
'-D__Userspace_os_Linux',
'-D_GNU_SOURCE',
Expand All @@ -68,7 +68,7 @@ elif system == 'freebsd'
] + compiler.get_supported_arguments([
'-Wno-address-of-packed-member',
]), language: 'c')
elif ['darwin', 'ios'].contains(system)
elif system in ['darwin', 'ios']
add_project_arguments([
'-D__Userspace_os_Darwin',
'-D__APPLE_USE_RFC_2292',
Expand Down
3 changes: 0 additions & 3 deletions usrsctplib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ sources = files([
'user_recv_thread.c',
'user_socket.c',
])
if system == 'android'
sources += files('ifaddrs.c')
endif

subdir('netinet')
subdir('netinet6')
Expand Down

0 comments on commit f668bb6

Please sign in to comment.