mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
Add definitions for [IU}V_BITS to perl.h
replacing the pp.c definition of IV_BITS
This commit is contained in:
parent
d469fd11be
commit
d957e95daa
2
embed.h
2
embed.h
@ -281,7 +281,9 @@
|
||||
# undef case_98_SBOX32
|
||||
# undef case_99_SBOX32
|
||||
# undef case_9_SBOX32
|
||||
# undef IV_BITS
|
||||
# undef USE_STDIO
|
||||
# undef UV_BITS
|
||||
# if !defined(PERL_EXT)
|
||||
# undef invlist_intersection_
|
||||
# undef invlist_subtract_
|
||||
|
||||
6
perl.h
6
perl.h
@ -2410,8 +2410,10 @@ typedef UVTYPE UV;
|
||||
#define Size_t_MAX (~(Size_t)0)
|
||||
#define SSize_t_MAX (SSize_t)(~(Size_t)0 >> 1)
|
||||
|
||||
#define IV_DIG (BIT_DIGITS(IVSIZE * 8))
|
||||
#define UV_DIG (BIT_DIGITS(UVSIZE * 8))
|
||||
#define IV_BITS (IVSIZE * CHARBITS)
|
||||
#define IV_DIG (BIT_DIGITS(IV_BITS))
|
||||
#define UV_BITS (UVSIZE * CHARBITS)
|
||||
#define UV_DIG (BIT_DIGITS(UV_BITS))
|
||||
|
||||
#ifndef NO_PERL_PRESERVE_IVUV
|
||||
#define PERL_PRESERVE_IVUV /* We like our integers to stay integers. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user