When we detect that vsnprintf / snprintf are broken, we #define them to
an alternative implementation. On OS X, stdio.h already #define's them,
which causes a warning to be issued at the point we re-define them in
`git-compat-util.h'.
Signed-off-by: Benoit Sigoure
---
git-compat-util.h | 6
Benoit Sigoure writes:
> When we detect that vsnprintf / snprintf are broken, we #define them to
> an alternative implementation. On OS X, stdio.h already #define's them,
> which causes a warning to be issued at the point we re-define them in
> `git-compat-util.h'.
> ---
Makes perfect sense. P
When we detect that vsnprintf / snprintf are broken, we #define them to
an alternative implementation. On OS X, stdio.h already #define's them,
which causes a warning to be issued at the point we re-define them in
`git-compat-util.h'.
---
git-compat-util.h | 6 ++
1 file changed, 6 insertions
3 matches
Mail list logo