Import change from ctype.h revision 1.20 from openbsd
Fixes builds with gcc >= 4.3 with -std=gnu99 Change-Id: I8729b7f4237fd7a99a82b2fe60573a7afe66b435
This commit is contained in:
parent
d1cfc947f9
commit
2497f65fee
@ -59,7 +59,11 @@ extern const short *_toupper_tab_;
|
|||||||
|
|
||||||
/* extern __inline is a GNU C extension */
|
/* extern __inline is a GNU C extension */
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
# if defined(__GNUC_STDC_INLINE__)
|
||||||
|
#define __CTYPE_INLINE extern __inline __attribute__((__gnu_inline__))
|
||||||
|
# else
|
||||||
#define __CTYPE_INLINE extern __inline
|
#define __CTYPE_INLINE extern __inline
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#define __CTYPE_INLINE static __inline
|
#define __CTYPE_INLINE static __inline
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user