Merge branch 'ak/use-hashmap-iter-first-in-submodule-config' into maint
[gitweb.git] / compat / vcbuild / include / unistd.h
index b14fcf94da405c6f3267437e59936d598168e00f..3a959d124ca794446800653e9c033b883d8d7b8f 100644 (file)
@@ -45,10 +45,17 @@ typedef unsigned long long uintmax_t;
 
 typedef int64_t off64_t;
 
+#if !defined(_MSC_VER) || _MSC_VER < 1600
 #define INTMAX_MIN  _I64_MIN
 #define INTMAX_MAX  _I64_MAX
 #define UINTMAX_MAX _UI64_MAX
 
+#define UINT32_MAX 0xffffffff  /* 4294967295U */
+#else
+#include <stdint.h>
+#endif
+
+#define STDIN_FILENO  0
 #define STDOUT_FILENO 1
 #define STDERR_FILENO 2