mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Merge branch 'switch_to_gnu99' into 'master'
Switching from C gnu89 to C gnu99 standard See merge request GNOME/glib!1035
This commit is contained in:
commit
c08e7b9364
@ -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']
|
||||
|
3
glib/gnulib/xsize.c
Normal file
3
glib/gnulib/xsize.c
Normal file
@ -0,0 +1,3 @@
|
||||
#include <config.h>
|
||||
#define XSIZE_INLINE _GL_EXTERN_INLINE
|
||||
#include "xsize.h"
|
@ -5,7 +5,7 @@ project('glib', 'c', 'cpp',
|
||||
default_options : [
|
||||
'buildtype=debugoptimized',
|
||||
'warning_level=1',
|
||||
'c_std=gnu89'
|
||||
'c_std=gnu99'
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user