We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995a2e1 commit 86b62b8Copy full SHA for 86b62b8
meson.build
@@ -72,6 +72,7 @@ coremidi_support = host_machine.system() == 'darwin' and coremidi_dep.found() an
72
winmm_support = host_machine.system() == 'windows' and winmm_dep.found() and get_option('winmm')
73
74
threads_dep = dependency('threads', required: alsa_support or jack_support)
75
+have_semaphore = cpp.has_header('semaphore.h')
76
77
pymod = import('python')
78
python = pymod.find_installation(get_option('python'), required: true)
rtmidi/meson.build
@@ -34,6 +34,9 @@ endif
34
35
if jack_support
36
defines += ['-D__UNIX_JACK__', '-DJACK_HAS_PORT_RENAME']
37
+ if have_semaphore
38
+ defines += ['-DHAVE_SEMAPHORE']
39
+ endif
40
dependencies += [jack_dep]
41
endif
42
0 commit comments