mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
moving POSIX_VISIBLE to the waf script part
This commit is contained in:
parent
282b7c2443
commit
be7c6225c8
2 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
#define _POSIX_C_SOURCE 200809L
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ def build(bld):
|
||||||
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
|
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
|
||||||
'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"',
|
'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"',
|
||||||
]
|
]
|
||||||
if re.search ("freebsd", sys.platform) != None:
|
if re.search ("freebsd", sys.platform) != None or re.search ("openbsd", sys.platform) != None:
|
||||||
obj.defines.append('_POSIX_C_SOURCE=200809')
|
obj.defines.append('_POSIX_C_SOURCE=200809')
|
||||||
obj.defines.append('_XOPEN_SOURCE=700')
|
obj.defines.append('_XOPEN_SOURCE=700')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue