diff options
author | David Carlier <devnexen@gmail.com> | 2016-11-18 12:34:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-11-29 13:18:46 +0000 |
commit | be7c6225c8cc2ea367f6c56aa1fee3e24147d174 (patch) | |
tree | a7b142ed5e9b7344671a6a1980610ef67d274a43 /libs | |
parent | 282b7c24433f65f84594df204b5c213aab934671 (diff) |
moving POSIX_VISIBLE to the waf script part
Diffstat (limited to 'libs')
-rw-r--r-- | libs/fst/scanner.cc | 1 | ||||
-rw-r--r-- | libs/fst/wscript | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libs/fst/scanner.cc b/libs/fst/scanner.cc index f6478bcb5f..18f4048cbb 100644 --- a/libs/fst/scanner.cc +++ b/libs/fst/scanner.cc @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libs/fst/wscript b/libs/fst/wscript index 465ba65840..ca90b7207d 100644 --- a/libs/fst/wscript +++ b/libs/fst/wscript @@ -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') |