use strict;
use warnings;
-our $VERSION = "1.25_01";
+our $VERSION = "1.25_02";
XSLoader::load 'IO', $VERSION;
sub import {
if (fgetpos(handle, &pos)) {
ST(0) = &PL_sv_undef;
} else {
+# if PERL_VERSION >= 11
+ ST(0) = newSVpvn_flags((char*)&pos, sizeof(Fpos_t), SVs_TEMP);
+# else
ST(0) = sv_2mortal(newSVpvn((char*)&pos, sizeof(Fpos_t)));
+# endif
}
#endif
}