Merge "Modify ctype.h headers to test for non-GNU inline semantics correctly"

This commit is contained in:
Andrew Hsieh
2015-05-15 01:41:55 +00:00
committed by Gerrit Code Review

View File

@@ -59,7 +59,7 @@ 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__) # if defined(__GNUC_STDC_INLINE__) || defined(__cplusplus) || defined(__cplusplus)
#define __CTYPE_INLINE extern __inline __attribute__((__gnu_inline__)) #define __CTYPE_INLINE extern __inline __attribute__((__gnu_inline__))
# else # else
#define __CTYPE_INLINE extern __inline #define __CTYPE_INLINE extern __inline