msvc: Fix build by adding missing symbol defines
commit93e38ed0c5a632d7b785357a309ac83e4df066fa
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Thu, 31 Jan 2013 18:31:30 +0000 (31 18:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Feb 2013 20:40:03 +0000 (25 12:40 -0800)
tree59fc456fc239c0b19d1fd003b1d7ce24d0b79363
parent4ab7527458a908b51891cbaa6bc0da9b711ebd19
msvc: Fix build by adding missing symbol defines

In particular, remote-testsvn.c fails to compile with two
undeclared identifier errors relating to the 'UINT32_MAX'
and 'STDIN_FILENO' symbols.

In order to fix the compilation errors, we add appropriate
definitions for the UINT32_MAX and STDIN_FILENO constants
to an msvc compat header file.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Tested-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/vcbuild/include/unistd.h