trivial: The BSD define is dunder, e.g. two underscores

This commit is contained in:
Richard Hughes 2021-05-25 20:37:52 +01:00
parent 36066ec822
commit 82cb7acb13

View File

@ -150,7 +150,7 @@ add_project_arguments('-DFWUPD_DISABLE_DEPRECATED', language : 'c')
# needed for symlink() and BYTE_ORDER
add_project_arguments('-D_BSD_SOURCE', language : 'c')
add_project_arguments('-D_BSD_VISIBLE', language : 'c')
add_project_arguments('-D__BSD_VISIBLE', language : 'c')
add_project_arguments('-D_XOPEN_SOURCE=700', language : 'c')
# needed for memfd_create()