moving POSIX_VISIBLE to the waf script part
This commit is contained in:
parent
282b7c2443
commit
be7c6225c8
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -88,7 +88,7 @@ def build(bld):
|
||||
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
|
||||
'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('_XOPEN_SOURCE=700')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user