diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2022-10-18 22:46:11 +0900 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-11-14 15:40:56 +1100 |
commit | a503b7406f4be5b6577fc63261184ffbe58009a1 (patch) | |
tree | bebf8ebb8b3aefca81141991a37234301290b901 /Cross/config.sh-arm-linux-n770 | |
parent | ba63af8a4c3715989c590e98b08ffbd58e885eea (diff) | |
download | perl-a503b7406f4be5b6577fc63261184ffbe58009a1.tar.gz |
Figure out I32df, U32uf, etc. in Configure rather than in perl.h
These macros were defined in perl.h using preprocessor conditionals,
but determining wheter I32 is "int" or "long" is pretty hard with
preprocessor, when INTSIZE == LONGSIZE. The Configure script
should know exact underlying type of I32, so it should be able to
determine whether %d or %ld shall be used to format I32 value
more robustly.
Various pre-configured files, such as uconfig.h, are updated to
align with this.
Diffstat (limited to 'Cross/config.sh-arm-linux-n770')
-rw-r--r-- | Cross/config.sh-arm-linux-n770 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770 index c205e54b19..de7b6d9400 100644 --- a/Cross/config.sh-arm-linux-n770 +++ b/Cross/config.sh-arm-linux-n770 @@ -737,6 +737,7 @@ html3dir=' ' html3direxp='' i16size='2' i16type='short' +i32dformat='"ld"' i32size='4' i32type='long' i64size='8' @@ -1117,8 +1118,12 @@ troff='' ttyname_r_proto='0' u16size='2' u16type='unsigned short' +u32XUformat='"lX"' +u32oformat='"lo"' u32size='4' u32type='unsigned long' +u32uformat='"lu"' +u32xformat='"lx"' u64size='8' u64type='unsigned long long' u8size='1' |