]> Pileus Git - ~andy/git/commitdiff
Define NO_GETTEXT for Git for Windows
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 5 Jan 2012 22:41:41 +0000 (16:41 -0600)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 4 Jun 2013 09:02:27 +0000 (10:02 +0100)
The dreaded "your vnsprintf is broken (returned -1)" error is back. At
least with the libintl version we have. So for the moment, just work
around the issue by _not_ using gettext.

Ah, I wish that my attempt at implementing a custom strbuf_vaddf() would
not have been brushed aside so rashly. Oh well. Time saved on maintaining
that thing, I guess (although more time went into working around coping
with existing implementations).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
config.mak.uname

index 11af5984cd90fdc34c213486778ca28f0b8e2eb8..e90ad12f90a7a77c5ad3f32d899aa31a72a061fd 100644 (file)
@@ -518,6 +518,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
        NO_R_TO_GCC_LINKER = YesPlease
        INTERNAL_QSORT = YesPlease
        HAVE_LIBCHARSET_H = YesPlease
+       NO_GETTEXT = YesPlease
 else
        NO_CURL = YesPlease
 endif