mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 12:19:40 +00:00
add a workaround for a glibc 2.20 bug
This commit is contained in:
parent
f88e9d4096
commit
7083dddbb0
20
cctools/include/sys/cdefs.h
Normal file
20
cctools/include/sys/cdefs.h
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Workaround for a GLIBC bug.
|
||||
* https://sourceware.org/bugzilla/show_bug.cgi?id=14952
|
||||
*/
|
||||
|
||||
#include_next <sys/cdefs.h>
|
||||
|
||||
#ifdef __GLIBC__
|
||||
|
||||
#ifndef __extern_inline
|
||||
# define __extern_inline \
|
||||
extern __inline __attribute__ ((__gnu_inline__))
|
||||
#endif
|
||||
|
||||
#ifndef __extern_always_inline
|
||||
# define __extern_always_inline \
|
||||
extern __always_inline __attribute__ ((__gnu_inline__))
|
||||
#endif
|
||||
|
||||
#endif /* __GLIBC__ */
|
Loading…
Reference in New Issue
Block a user