We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported by Leont. Should probably fix.
The text was updated successfully, but these errors were encountered:
@Leont - how's this look:
diff --git a/parts/inc/magic b/parts/inc/magic index a99cd80..bf43a9c 100644 --- a/parts/inc/magic +++ b/parts/inc/magic @@ -29,13 +29,15 @@ __UNDEFINED__ SvGETMAGIC(x) STMT_START { if (SvGMAGICAL(x)) mg_get(x); } STMT_E __UNDEFINED__ HEf_SVKEY -2 +#ifndef MUTABLE_PTR #if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) # define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) #else # define MUTABLE_PTR(p) ((void *) (p)) #endif +#endif -#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p)) +__UNDEFINED__ MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p)) /* end of random bits */
Sorry, something went wrong.
Don't redefine MUTABLE_PTR if it's already there. (GH #23)
40dc017
Should go out in 3.33 soon
No branches or pull requests
Reported by Leont. Should probably fix.
The text was updated successfully, but these errors were encountered: