Fixed [ 786394 ] Patch for generated perl code does not compile under RedHat9
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39bd8e207d
commit
c5b153d169
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ library is C++ safe.
|
|||
|
||||
%{
|
||||
|
||||
static void xs_init _((void));
|
||||
static void xs_init _((pTHX));
|
||||
static PerlInterpreter *my_perl;
|
||||
|
||||
int perl_eval(char *string) {
|
||||
|
|
@ -64,7 +64,7 @@ main(int argc, char **argv, char **env)
|
|||
/* EXTERN_C void boot_DynaLoader _((CV* cv)); */
|
||||
|
||||
static void
|
||||
xs_init()
|
||||
xs_init(pTHX)
|
||||
{
|
||||
/* dXSUB_SYS; */
|
||||
char *file = __FILE__;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue