diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-30 12:41:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-30 12:41:50 +0000 |
commit | de1c2614758a00c0d93fc45414417a54cdf923b3 (patch) | |
tree | c97732539c1a6c948e0e0236d27caa5959944a65 /config_h.SH | |
parent | a22e52b96b9903703a79e4a00983091457f7aff2 (diff) | |
download | perl-de1c2614758a00c0d93fc45414417a54cdf923b3.tar.gz |
Add HAS_QUAD ($Config{d_quad}); use it.
p4raw-id: //depot/cfgperl@4497
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/config_h.SH b/config_h.SH index 5355052c8f..8e7115de72 100644 --- a/config_h.SH +++ b/config_h.SH @@ -998,6 +998,10 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #define STDCHAR $stdchar /**/ +/* HAS_QUAD: + * This symbol, if defined, tells that there's a 64-bit integer type, + * Quad_t. + */ /* Quad_t: * This symbol holds the type used for 64-bit integers. * It can be int, long, long long, int64_t etc... @@ -1011,9 +1015,10 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * It can be unsigned int, unsigned long, unsigned long long, * uint64_t etc... */ -#define Quad_t $quadtype -#define Uquad_t $uquadtype -#define QUADCASE $quadcase +#$d_quad HAS_QUAD /**/ +#$d_quad Quad_t $quadtype /**/ +#$d_quad Uquad_t $uquadtype /**/ +#$d_quad QUADCASE $quadcase /**/ /* HAS_ACCESSX: * This symbol, if defined, indicates that the accessx routine is @@ -2476,7 +2481,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define U16TYPE $u16type /**/ #define I32TYPE $i32type /**/ #define U32TYPE $u32type /**/ -#ifdef Quad_t +#ifdef HAS_QUAD #define I64TYPE $i64type /**/ #define U64TYPE $u64type /**/ #endif @@ -2489,7 +2494,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define U16SIZE $u16size /**/ #define I32SIZE $i32size /**/ #define U32SIZE $u32size /**/ -#ifdef Quad_t +#ifdef HAS_QUAD #define I64SIZE $i64size /**/ #define U64SIZE $u64size /**/ #endif |