[glib: 1/3] Fixing inlining bug in gnulib/xsize.h
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/3] Fixing inlining bug in gnulib/xsize.h
- Date: Fri, 4 Oct 2019 14:51:27 +0000 (UTC)
commit 59882fb9e136d48b73c1f4760a542c8de60e1d3c
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date: Tue Aug 13 18:32:03 2019 +0200
Fixing inlining bug in gnulib/xsize.h
See: https://lists.gnu.org/archive/html/bug-gettext/2013-01/msg00011.html
Courtesy to chrisawi (Chris William)
glib/gnulib/meson.build | 2 +-
glib/gnulib/xsize.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/glib/gnulib/meson.build b/glib/gnulib/meson.build
index af697f29c..6ad55d07a 100644
--- a/glib/gnulib/meson.build
+++ b/glib/gnulib/meson.build
@@ -323,7 +323,7 @@ math_h = configure_file (input: 'gnulib_math.h.in',
output: 'gnulib_math.h',
configuration: math_h_config)
-gnulib_sources = ['asnprintf.c', 'printf.c', 'printf-args.c', 'printf-parse.c', 'printf-frexp.c',
'printf-frexpl.c', 'isnand.c', 'isnanl.c', 'vasnprintf.c']
+gnulib_sources = ['asnprintf.c', 'printf.c', 'printf-args.c', 'printf-parse.c', 'printf-frexp.c',
'printf-frexpl.c', 'isnand.c', 'isnanl.c', 'vasnprintf.c', 'xsize.c']
if not gl_cv_func_frexp_works
gnulib_sources += ['frexp.c']
diff --git a/glib/gnulib/xsize.c b/glib/gnulib/xsize.c
new file mode 100644
index 000000000..4b4914c2c
--- /dev/null
+++ b/glib/gnulib/xsize.c
@@ -0,0 +1,3 @@
+#include <config.h>
+#define XSIZE_INLINE _GL_EXTERN_INLINE
+#include "xsize.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]