summaryrefslogtreecommitdiff
path: root/compat/vcbuild/include/unistd.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-19 12:20:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-19 12:20:40 -0700
commit9b79956018fafb97da82839148d3ea2acd3e5959 (patch)
tree25d7b1a50bc3510a6a6c98ffb44f34e12932a97d /compat/vcbuild/include/unistd.h
parentMerge branch 'dm/ni-maxhost-may-be-missing' (diff)
parentmsvc: avoid collisions between "tags" and "TAGS" (diff)
downloadtgif-9b79956018fafb97da82839148d3ea2acd3e5959.tar.xz
Merge branch 'rj/msvc-build'
* rj/msvc-build: msvc: avoid collisions between "tags" and "TAGS" msvc: test-svn-fe: Fix linker "unresolved external" error msvc: Fix build by adding missing symbol defines msvc: git-daemon: Fix linker "unresolved external" errors msvc: Fix compilation errors caused by poll.h emulation
Diffstat (limited to 'compat/vcbuild/include/unistd.h')
-rw-r--r--compat/vcbuild/include/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/vcbuild/include/unistd.h b/compat/vcbuild/include/unistd.h
index b14fcf94da..c65c2cd566 100644
--- a/compat/vcbuild/include/unistd.h
+++ b/compat/vcbuild/include/unistd.h
@@ -49,6 +49,9 @@ typedef int64_t off64_t;
#define INTMAX_MAX _I64_MAX
#define UINTMAX_MAX _UI64_MAX
+#define UINT32_MAX 0xffffffff /* 4294967295U */
+
+#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2