This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use STRUCT_OFFSET() instead raw C99 offsetof().
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 28 May 2014 15:32:34 +0000 (11:32 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 28 May 2014 15:41:03 +0000 (11:41 -0400)
commit3800c3188602fdac4fe7ff2e93504b26827d87e3
treeb73ff4fc45d3a7e53d9cb8ed93a16b028c1cccbf
parentf019f68fb9e27d1f5018d841f90d21e2fd73ea4a
Use STRUCT_OFFSET() instead raw C99 offsetof().

That is, offsetof() is available only iff not C89 pedantic gcc.

(Socket.xs needs fixing, too, but it's cpan/Socket.)
ext/B/B.xs
ext/POSIX/POSIX.xs
perl.h