Open ppisar opened 1 year ago
Perl 5.37.1 removed a deprecated sv_nv() macro and SDL fails to build with Perl 5.38.0:
lib/SDLx/Controller/Interface.xs:60:26: error: implicit declaration of function 'sv_nv' 60 | out->dv_x = sv_nv(temp); | ^~~~~
Users are advised to use SvNVx() macro instead. SvNVx() seems to have been available all the time (it predates a commit from 1993-10-07).
This patch does that.
https://github.com/PerlGameDev/SDL/issues/303
Perl 5.37.1 removed a deprecated sv_nv() macro and SDL fails to build with Perl 5.38.0:
Users are advised to use SvNVx() macro instead. SvNVx() seems to have been available all the time (it predates a commit from 1993-10-07).
This patch does that.
https://github.com/PerlGameDev/SDL/issues/303