[rhythmbox] fix up config.h stuff for libsecret and unlocked fwrite



commit 9e0f1a1c6c04cc691b99eb05964a7a4b6e1b1e3b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Jan 18 19:57:35 2022 +1000

    fix up config.h stuff for libsecret and unlocked fwrite
    
    cdata.set10() always defines the symbol, which isn't what we want
    for #if defined(THING) checks.

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index abfc83762..78e81005c 100644
--- a/meson.build
+++ b/meson.build
@@ -116,6 +116,7 @@ if get_option('libsecret').allowed()
   endif
 endif
 cdata.set('PY_LIBSECRET_ENABLED', use_libsecret)
+cdata.set('WITH_LIBSECRET', use_libsecret)
 
 use_lirc = false
 if get_option('lirc').allowed()
@@ -143,7 +144,7 @@ if get_option('brasero').allowed()
 endif
 
 have_gnu_fwrite_unlocked = cc.has_function('fwrite_unlocked')
-cdata.set10('HAVE_GNU_FWRITE_UNLOCKED', have_gnu_fwrite_unlocked)
+cdata.set('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]