From: Michael Wetherell Date: Thu, 14 Dec 2006 00:07:15 +0000 (+0000) Subject: Fix for printf positional parameter check from Francesco. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9fea3325be6d06cb9e09082f5d7034bdbabf139d Fix for printf positional parameter check from Francesco. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 70b23acd60..c3a04b4938 100644 --- a/configure.in +++ b/configure.in @@ -4557,7 +4557,7 @@ if test "$ac_cv_func_snprintf" = "yes"; then int main (void) { char buffer[128]; - snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3); + snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3); if (strcmp ("2 3 1", buffer) == 0) exit (0); exit (1);