]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected compilation error in va_copy() test
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2004 20:24:28 +0000 (20:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2004 20:24:28 +0000 (20:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 9366022d39ef39ba883e76851f539609822bba87..d3d2ecc03baaeec1df48d8fc7ef1d60904e581a3 100755 (executable)
--- a/configure
+++ b/configure
@@ -18263,7 +18263,8 @@ else
             }
             int main()
             {
-                return foo("hi", 17);
+                foo("hi", 17);
+                return 0;
             }
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
index d3a3fd161663c991d6d936076c50f5bbafbfc7d5..3c0ab647ac9967a0f76aba772302b987bd732533 100644 (file)
@@ -1740,7 +1740,8 @@ AC_CACHE_CHECK([for va_copy],
             }
             int main()
             {
-                return foo("hi", 17);
+                foo("hi", 17);
+                return 0;
             }],
             wx_cv_func_va_copy=yes,
             wx_cv_func_va_copy=no