aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-11-09 18:48:10 +0100
committersghctoma <sghctoma@gmail.com>2018-11-09 18:48:10 +0100
commit753540335b8ff2e339402dce6500416333899416 (patch)
tree0c2c77c9b60304099aadc37f10c07f5ad5db7ffd
parentbc5e84225c4ccf1a7a7cfa51533c80338fc85635 (diff)
Remove WLR_HAS_POSIX_FALLOCATE from build system
-rw-r--r--include/wlr/config.h.in2
-rw-r--r--meson.build4
2 files changed, 0 insertions, 6 deletions
diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in
index 750ad3b7..17277c07 100644
--- a/include/wlr/config.h.in
+++ b/include/wlr/config.h.in
@@ -14,6 +14,4 @@
#mesondefine WLR_HAS_XCB_ICCCM
#mesondefine WLR_HAS_XCB_XKB
-#mesondefine WLR_HAS_POSIX_FALLOCATE
-
#endif
diff --git a/meson.build b/meson.build
index 18a5d908..1ed93c04 100644
--- a/meson.build
+++ b/meson.build
@@ -72,10 +72,6 @@ if logind.found()
wlr_deps += logind
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('render')