summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 1 insertions, 8 deletions
diff --git a/meson.build b/meson.build
index e7ab904..6d5c7ff 100644
--- a/meson.build
+++ b/meson.build
@@ -23,10 +23,6 @@ add_project_arguments(cc.get_supported_arguments([
'-Wformat',
]), language: 'c')
-if get_option('handle-signals').enabled()
- add_project_arguments(cc.get_supported_arguments([ '-DHANDLE_SIGNALS' ]), language: 'c')
-endif
-
wayland_protocols = dependency('wayland-protocols')
wayland_client = dependency('wayland-client', include_type: 'system')
wayland_cursor = dependency('wayland-cursor', include_type: 'system')
@@ -35,9 +31,7 @@ realtime = cc.find_library('rt')
math = cc.find_library('m')
if ['dragonfly', 'freebsd', 'netbsd', 'openbsd'].contains(host_machine.system())
- libepoll = dependency('epoll-shim', required: get_option('handle-signals'))
-else
- libepoll = []
+ add_project_arguments(cc.get_supported_arguments([ '-DBSD' ]), language: 'c')
endif
subdir('protocol')
@@ -55,7 +49,6 @@ executable(
),
dependencies: [
cairo,
- libepoll,
math,
realtime,
wayland_client,