summaryrefslogtreecommitdiff
path: root/compat/win32mmap.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-01-26 15:34:16 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-26 13:42:59 -0800
commitf9206ce26818c3fc1cfd12cfce0acf0bd582270a (patch)
tree74e736caf9ebc6f6a91951c4075ac0bcd9377282 /compat/win32mmap.c
parentmingw: uglify (a, 0) definitions to shut up warnings (diff)
downloadtgif-f9206ce26818c3fc1cfd12cfce0acf0bd582270a.tar.xz
mingw: let's use gettext with MSYS2
This solves two problems: - we now have proper localisation even on Windows - we sidestep the infamous "BUG: your vsnprintf is broken (returned -1)" message when running "git init" (which otherwise prevents the entire test suite from running) because libintl.h overrides vsnprintf() with libintl_vsnprintf() [*1*] The latter issue is rather crucial, as *no* test passes in Git for Windows without this fix. Footnote *1*: gettext_git=http://git.savannah.gnu.org/cgit/gettext.git $gettext_git/tree/gettext-runtime/intl/libgnuintl.in.h#n380 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32mmap.c')
0 files changed, 0 insertions, 0 deletions