This fixes two syntax errors in the libintl build, inside gettext:

2010-05-09  Bruno Haible  <br...@clisp.org>

        vasnprintf: Fix syntax errors in libintl build on mingw.
        * lib/vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
        pad_ourselves and prec_ourselves after use.

--- lib/vasnprintf.c.orig       Sun May  9 11:10:38 2010
+++ lib/vasnprintf.c    Sun May  9 11:10:05 2010
@@ -2889,8 +2889,8 @@
                       length += n;
                     }
                 }
-              }
 # endif
+              }
 #endif
 #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) 
&& !defined IN_LIBINTL
             else if ((dp->conversion == 'a' || dp->conversion == 'A')
@@ -5498,6 +5498,8 @@
                     length += count;
                     break;
                   }
+#undef pad_ourselves
+#undef prec_ourselves
               }
           }
       }


Reply via email to