[rhythmbox/wip/hadess/cleanups: 21/43] build: Use fwrite_unlocked() if available
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/cleanups: 21/43] build: Use fwrite_unlocked() if available
- Date: Thu, 18 Nov 2021 13:40:56 +0000 (UTC)
commit ddd200e8aecd328a649b271d1a47e0f47033685b
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 3 11:33:58 2021 +0100
build: Use fwrite_unlocked() if available
Detecting the function was done, but the config.h header was never told
about the availability.
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index f19c09a34..1faa7f385 100644
--- a/meson.build
+++ b/meson.build
@@ -141,6 +141,7 @@ cdata.set10('WITH_RHYTHMDB_TREE', 1)
cdata.set10('RHYTHMDB_ENABLE_COHERENCE_CHECK', get_option('rhythmdb_debug'))
have_gnu_fwrite_unlocked = cc.has_function('fwrite_unlocked')
+cdata.set10('HAVE_GNU_FWRITE_UNLOCKED', have_gnu_fwrite_unlocked)
gdk_targets = run_command(['pkg-config', '--variable', 'targets', 'gdk-3.0']).stdout().strip()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]