Remove WLR_HAS_POSIX_FALLOCATE from build system

master
sghctoma 6 years ago
parent bc5e84225c
commit 753540335b

@ -14,6 +14,4 @@
#mesondefine WLR_HAS_XCB_ICCCM #mesondefine WLR_HAS_XCB_ICCCM
#mesondefine WLR_HAS_XCB_XKB #mesondefine WLR_HAS_XCB_XKB
#mesondefine WLR_HAS_POSIX_FALLOCATE
#endif #endif

@ -72,10 +72,6 @@ if logind.found()
wlr_deps += logind wlr_deps += logind
endif endif
if cc.has_header_symbol('fcntl.h', 'posix_fallocate', prefix: '#define _POSIX_C_SOURCE 200112L')
conf_data.set('WLR_HAS_POSIX_FALLOCATE', true)
endif
subdir('protocol') subdir('protocol')
subdir('render') subdir('render')

Loading…
Cancel
Save