diff options
author | Jan Dubois <jand@activestate.com> | 2008-02-01 05:40:41 -0800 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-02-12 14:58:50 +0000 |
commit | 654eccd594bfe8deab367b0f4cdda726a7796ff3 (patch) | |
tree | f063ed3713d5cb4ef88ad77b357d58492635b436 /perl.h | |
parent | 7918f24d20384771923d344a382e1d16d9552018 (diff) | |
download | perl-654eccd594bfe8deab367b0f4cdda726a7796ff3.tar.gz |
Fix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC and XS?]
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <02ee01c8651b$17ef72f0$47ce58d0$@com>
p4raw-id: //depot/perl@33292
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -3328,6 +3328,17 @@ struct nexttoken { }; #endif +/* macros to define bit-fields in structs. */ +#ifndef PERL_BITFIELD8 +# define PERL_BITFIELD8 unsigned +#endif +#ifndef PERL_BITFIELD16 +# define PERL_BITFIELD16 unsigned +#endif +#ifndef PERL_BITFIELD32 +# define PERL_BITFIELD32 unsigned +#endif + #include "sv.h" #include "regexp.h" #include "util.h" |