Code

msvc: Fix build by adding missing INTMAX_MAX define
[git.git] / compat / vcbuild / include / unistd.h
index 2a4f276869c507c49c3f1d066fa648c6ea78890d..b14fcf94da405c6f3267437e59936d598168e00f 100644 (file)
@@ -45,6 +45,10 @@ typedef unsigned long long uintmax_t;
 
 typedef int64_t off64_t;
 
+#define INTMAX_MIN  _I64_MIN
+#define INTMAX_MAX  _I64_MAX
+#define UINTMAX_MAX _UI64_MAX
+
 #define STDOUT_FILENO 1
 #define STDERR_FILENO 2