aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-13 20:00:25 +0100
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit456bdeef35ffbfbdad7609e8b8a4ef71372786fd (patch)
tree25fabaa4f361f66a2bac860f06722e7f51776cbc /meson.build
parentfc2114a10769349d38b3215bc95ded855a2be5b6 (diff)
downloadserd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.gz
serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.tar.bz2
serd-456bdeef35ffbfbdad7609e8b8a4ef71372786fd.zip
[WIP] Add extensible logging API
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 642da5a9..4cf4e8d6 100644
--- a/meson.build
+++ b/meson.build
@@ -80,6 +80,10 @@ else
'stdio.h',
'return fileno(stdin);',
],
+ 'isatty': [
+ 'unistd.h',
+ 'return isatty(0);',
+ ],
'posix_fadvise': [
'fcntl.h',
'posix_fadvise(0, 0, 4096, POSIX_FADV_SEQUENTIAL);',
@@ -131,9 +135,9 @@ c_headers = files(
'include/serd/buffer.h',
'include/serd/caret.h',
'include/serd/env.h',
- 'include/serd/error.h',
'include/serd/event.h',
'include/serd/input_stream.h',
+ 'include/serd/log.h',
'include/serd/memory.h',
'include/serd/node.h',
'include/serd/output_stream.h',
@@ -160,6 +164,7 @@ sources = files(
'src/caret.c',
'src/env.c',
'src/input_stream.c',
+ 'src/log.c',
'src/node.c',
'src/output_stream.c',
'src/read_nquads.c',