meson: define _FILE_OFFSET_BITS=64 for glibc
parent
f2a5959139
commit
336a133b76
|
@ -26,6 +26,9 @@ static_deps = [
|
||||||
|
|
||||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||||
|
|
||||||
|
# Needed for 64-bit off_t and friends on glibc.
|
||||||
|
add_project_arguments('-D_FILE_OFFSET_BITS=64', language: 'c')
|
||||||
|
|
||||||
# If we're a subproject we only want the static lib and not files
|
# If we're a subproject we only want the static lib and not files
|
||||||
subproject = meson.is_subproject()
|
subproject = meson.is_subproject()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue