1
0
mirror of https://github.com/git/git.git synced 2024-09-29 06:11:51 +02:00
git/compat/vcbuild/include
Ramsay Jones 1a3b5a3e5c msvc: Fix build by adding missing INTMAX_MAX define
Commit c03c831 (do not depend on signed integer overflow,
05-10-2010) provokes an msvc build failure. The cause of the
failure is a missing definition of the INTMAX_MAX constant,
used in the new maximum_signed_value_of_type(a) macro, which
would normally be defined in the C99 <stdint.h> header file.

In order the fix the compilation error, we add an appropriate
definition of the INTMAX_MAX constant, along with INTMAX_MIN
and UINTMAX_MAX, to an msvc compat header file.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-12-09 16:00:30 -08:00
..
arpa
netinet
sys
alloca.h
dirent.h
grp.h
inttypes.h
netdb.h
pwd.h
termios.h MSVC: Fix build by adding missing termios.h dummy 2010-04-19 01:28:21 -07:00
unistd.h msvc: Fix build by adding missing INTMAX_MAX define 2010-12-09 16:00:30 -08:00
utime.h