Merge pull request #422 from jbeich/dragonfly

Unbreak build on DragonFly and OpenBSD
This commit is contained in:
yshui 2020-06-06 15:14:14 +01:00 committed by GitHub
commit fd6ff8264c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@ endif
host_system = host_machine.system() host_system = host_machine.system()
if host_system == 'linux' if host_system == 'linux'
cflags += ['-DHAS_INOTIFY'] cflags += ['-DHAS_INOTIFY']
elif host_system == 'freebsd' or host_system == 'netbsd' or elif (host_system == 'freebsd' or host_system == 'netbsd' or
host_system == 'dragonfly' or host_system == 'openbsd' host_system == 'dragonfly' or host_system == 'openbsd')
cflags += ['-DHAS_KQUEUE'] cflags += ['-DHAS_KQUEUE']
endif endif