mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
2007-10-03 Jakub Jelinek
* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ add __artificial__ attribute.
This commit is contained in:
parent
6e682cf5c1
commit
ee868c89ae
@ -1,3 +1,8 @@
|
||||
2007-10-03 Jakub Jelinek
|
||||
|
||||
* misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
|
||||
add __artificial__ attribute.
|
||||
|
||||
2007-10-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* string/strcoll_l.c (STRCOLL): Correct handling of switching from
|
||||
|
@ -294,8 +294,13 @@
|
||||
#if !defined __cplusplus || __GNUC_PREREQ (4,3)
|
||||
# if defined __GNUC_STDC_INLINE__ || defined __cplusplus
|
||||
# define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
|
||||
# define __extern_always_inline \
|
||||
# if __GNUC_PREREQ (4,3)
|
||||
# define __extern_always_inline \
|
||||
extern __always_inline __attribute__ ((__gnu_inline__, __artificial__))
|
||||
# else
|
||||
# define __extern_always_inline \
|
||||
extern __always_inline __attribute__ ((__gnu_inline__))
|
||||
# endif
|
||||
# else
|
||||
# define __extern_inline extern __inline
|
||||
# define __extern_always_inline extern __always_inline
|
||||
|
Loading…
Reference in New Issue
Block a user