Lib/octave: fix call to mlock() for Octave >= 4.4
This commit is contained in:
parent
df92ad6ebc
commit
ce67bce72e
1 changed files with 5 additions and 3 deletions
|
|
@ -447,10 +447,12 @@ DEFUN_DLD( SWIG_name, args, nargout, SWIG_name_usage ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !SWIG_OCTAVE_PREREQ(3,2,0)
|
#if SWIG_OCTAVE_PREREQ(4,4,0)
|
||||||
mlock(me->name());
|
octave::interpreter::the_interpreter()->mlock();
|
||||||
#else
|
#elif SWIG_OCTAVE_PREREQ(3,2,0)
|
||||||
mlock();
|
mlock();
|
||||||
|
#else
|
||||||
|
mlock(me->name());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue