Make some functions which are needed for native VST support like snprintf() visible in FreeBSD.
This commit is contained in:
parent
b86a4a585d
commit
8d8ca6a8fa
@ -88,4 +88,8 @@ def build(bld):
|
||||
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
|
||||
'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"',
|
||||
]
|
||||
if re.search ("freebsd", sys.platform) != None:
|
||||
obj.defines.append('_POSIX_C_SOURCE=200809')
|
||||
obj.defines.append('_XOPEN_SOURCE=700')
|
||||
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
||||
|
Loading…
Reference in New Issue
Block a user