mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-14 08:33:16 +00:00
Specify return type of main() in conftest.c (#268)
This commit is contained in:
parent
018c064180
commit
3672e5e663
2
hfsutils/configure
vendored
2
hfsutils/configure
vendored
@ -711,7 +711,7 @@ cross_compiling=$ac_cv_prog_cc_cross
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 713 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
int main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
|
4
hfsutils/libhfs/configure
vendored
4
hfsutils/libhfs/configure
vendored
@ -657,7 +657,7 @@ cross_compiling=$ac_cv_prog_cc_cross
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 659 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
int main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
@ -1278,7 +1278,7 @@ else
|
||||
#line 1279 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
main()
|
||||
int main()
|
||||
{
|
||||
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
|
||||
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
|
||||
|
2
hfsutils/librsrc/configure
vendored
2
hfsutils/librsrc/configure
vendored
@ -657,7 +657,7 @@ cross_compiling=$ac_cv_prog_cc_cross
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 659 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
int main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user