diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 19:17:06 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 19:17:06 +0000 |
commit | 28e5dec85047e189010079efa89eed07bc9eddc8 (patch) | |
tree | dd941df355c40cba395e514551ea847e8d07edfd /perl.h | |
parent | c11ecd62a73b5b39df29fd460e1c4451c6e0e8af (diff) | |
download | perl-28e5dec85047e189010079efa89eed07bc9eddc8.tar.gz |
Return of the IVUV-preservation, now seems to be happy even
in Digital UNIX (the broken strtoul brokenness detection
seems to have been the fly in the ointment).
p4raw-id: //depot/perl@8138
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1084,6 +1084,11 @@ typedef UVTYPE UV; #define IV_DIG (BIT_DIGITS(IVSIZE * 8)) #define UV_DIG (BIT_DIGITS(UVSIZE * 8)) +/* We like our integers to stay integers. */ +#ifndef NO_PERL_PRESERVE_IVUV +#define PERL_PRESERVE_IVUV +#endif + /* * The macros INT2PTR and NUM2PTR are (despite their names) * bi-directional: they will convert int/float to or from pointers. @@ -3247,6 +3252,9 @@ typedef struct am_table_short AMTS; # if !defined(Strtol) && defined(HAS_STRTOLL) # define Strtol strtoll # endif +# if !defined(Strtol) && defined(HAS_STRTOQ) +# define Strtol strtoq +# endif /* is there atoq() anywhere? */ #endif #if !defined(Strtol) && defined(HAS_STRTOL) |