diff options
author | David Robillard <d@drobilla.net> | 2016-08-01 14:40:41 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-01 14:40:41 -0400 |
commit | 59557e3c467d8c514700fe1b7bdfa3d4e472317c (patch) | |
tree | 2bbae45d48c73e81344e30c286f83a4faa9bdeeb | |
parent | 1a4e4a79991932714e39ef44b9f5ba1ca4c6c251 (diff) | |
download | ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.gz ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.tar.bz2 ingen-59557e3c467d8c514700fe1b7bdfa3d4e472317c.zip |
Use consistent feature test macros
-rw-r--r-- | tests/empty.ingen/main.ttl (renamed from tests/empty.ingen/graph.ttl) | 0 | ||||
-rw-r--r-- | wscript | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/empty.ingen/graph.ttl b/tests/empty.ingen/main.ttl index 3f8c8ed5..3f8c8ed5 100644 --- a/tests/empty.ingen/graph.ttl +++ b/tests/empty.ingen/main.ttl @@ -81,14 +81,14 @@ def configure(conf): atleast_version='0.12.0', mandatory=False) conf.check(function_name = 'posix_memalign', - defines = '_POSIX_SOURCE=1', + defines = '_POSIX_C_SOURCE=200809L', header_name = 'stdlib.h', define_name = 'HAVE_POSIX_MEMALIGN', mandatory = False) conf.check(function_name = 'isatty', header_name = 'unistd.h', - defines = '_POSIX_SOURCE=1', + defines = '_POSIX_C_SOURCE=200809L', define_name = 'HAVE_ISATTY', mandatory = False) |