don't make the catch inline
This commit is contained in:
@@ -467,14 +467,14 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
|
|||||||
*/
|
*/
|
||||||
#if defined(__GNUC__) && !defined(__CLANG__)
|
#if defined(__GNUC__) && !defined(__CLANG__)
|
||||||
#if __GNUC__ >= 12
|
#if __GNUC__ >= 12
|
||||||
inline char *index(const char *s, int c) __attribute__ ((unavailable));
|
extern char *index(const char *s, int c) __attribute__ ((unavailable));
|
||||||
inline char *rindex(const char *s, int c) __attribute__ ((unavailable));
|
extern char *rindex(const char *s, int c) __attribute__ ((unavailable));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
#if __clang_major__ >= 7
|
#if __clang_major__ >= 7
|
||||||
inline char *index(const char *s, int c) __attribute__ ((unavailable));
|
extern char *index(const char *s, int c) __attribute__ ((unavailable));
|
||||||
inline char *rindex(const char *s, int c) __attribute__ ((unavailable));
|
extern char *rindex(const char *s, int c) __attribute__ ((unavailable));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user