http://www.perlmonks.org?node_id=1034935


in reply to Re^2: Using stderr from Inline::C: (part deux)
in thread Using stderr from Inline::C: (part deux)

I wondering how I might use the NO_XSLOCKS that bulk88 mentions with I::C?

Should be easy enough.
Looking at the post to which bulk88 provided a link, I see:
>You need to add > > #define NO_XSLOCKS > >before > > #include <xsub.h>
If that's correct, then this should provide what's needed:
use Inline C => Config => PRE_HEAD => "#define NO_XSLOCKS\n";
(Not sure if the '\n' is needed or not ... and haven't checked.)
The PRE_HEAD config option is a recent addition (beginning in 0.51) - it's documented in 'perldoc Inline::C'.

Cheers,
Rob