diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-09-11 12:22:45 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-09-16 11:58:45 +0200 |
commit | 7cc43d2f57e9404b3e34fdeca08033de4becf0f3 (patch) | |
tree | be39bcebe3a443bfd03bbbd09aefd46bca089cf6 /Configure | |
parent | 1400a53b58cffb93a158ce6193542245eaa39b7d (diff) | |
download | perl-7cc43d2f57e9404b3e34fdeca08033de4becf0f3.tar.gz |
Eliminate the use of voidflags from Configure's pointer size determination.
This should permit metaconfig to drop the entire voidflags logic from
Configure and the config.sh related files.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -6768,11 +6768,6 @@ echo " " case "$ptrsize" in '') echo "Checking to see how big your pointers are..." >&4 - if test "$voidflags" -gt 7; then - echo '#define VOID_PTR char *' > try.c - else - echo '#define VOID_PTR void *' > try.c - fi $cat >>try.c <<EOCP #include <stdio.h> #$i_stdlib I_STDLIB @@ -6781,7 +6776,7 @@ case "$ptrsize" in #endif int main() { - printf("%d\n", (int)sizeof(VOID_PTR)); + printf("%d\n", (int)sizeof(void *)); exit(0); } EOCP |