This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix defines for PERL_BITFIELDxx on Linux and Win32 smoke-me/fix_bitfield_definitions 17549/head
authorYves Orton <demerphq@gmail.com>
Sat, 8 Feb 2020 10:02:08 +0000 (11:02 +0100)
committerYves Orton <demerphq@gmail.com>
Sat, 8 Feb 2020 10:02:08 +0000 (11:02 +0100)
commitf8e72076393d9d7449840dbf7eb1feb3f9616113
tree1bf39070391656c9abc4e8e470e728029f623fdc
parent16933d619ff0a6284a4a90626ab5d39e472c694f
fix defines for PERL_BITFIELDxx on Linux and Win32

for some reason PERL_BITFIELD32 is defined as "unsigned" which is
defined to be the same as "unsigned int" which could be 16 bits.

This changes the definition for PERL_BITFIELDxx to be the same
on both platforms and to use the full names for the type, and to
use a type which is guaranteed to be at least 32 bits long for
PERL_BITFIELD32.
perl.h
win32/win32.h