git-compat-util.h: #undef (v)snprintf before #define them
commitab03803c02ef6b41ed5086771bab2de4860c96a9
authorBenoit Sigoure <tsunanet@gmail.com>
Fri, 31 Jan 2014 06:25:12 +0000 (30 22:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jan 2014 17:55:29 +0000 (31 09:55 -0800)
tree426b9f6a2abfe07af0ed74acb03129d787af9b1f
parentf174a2583c9f42315b60205890fa67a79a1f1669
git-compat-util.h: #undef (v)snprintf before #define them

When we detect that vsnprintf / snprintf are broken, we #define them
to an alternative implementation.  On OS X, stdio.h already
re-define them in `git-compat-util.h'.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h