#endif /* !no_mro_get_linear_isa */
#endif /* mro_get_package_gen */
-#if !defined(__GNUC__)
-# if (!defined(__cplusplus__) || !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)) && !defined(inline)
-# define inline /* nothing */
-# endif
-#endif
+#ifndef STATIC_INLINE /* from 5.13.4 */
+# if defined(__GNUC__) || defined(__cplusplus__) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
+# define STATIC_INLINE static inline
+# else
+# define STATIC_INLINE static
+# endif
+#endif /* STATIC_INLINE */
/* Mouse stuff */
#define dMOUSE_self SV* const self = mouse_accessor_get_self(aTHX_ ax, items, cv)
-static inline SV*
+STATIC_INLINE SV*
mouse_accessor_get_self(pTHX_ I32 const ax, I32 const items, CV* const cv) {
if(items < 1){
croak("Too few arguments for %s", GvNAME(CvGV(cv)));
#define find_method_pvn(a, b, c) mouse_stash_find_method(aTHX_ a, b, c)
#define find_method_pvs(a, b) mouse_stash_find_method(aTHX_ a, STR_WITH_LEN(b))
-static inline GV*
+STATIC_INLINE GV*
mouse_stash_find_method(pTHX_ HV* const stash, const char* const name, I32 const namelen){
GV** const gvp = (GV**)hv_fetch(stash, name, namelen, FALSE);
if(gvp && isGV(*gvp) && GvCV(*gvp)){ /* shortcut */