summaryrefslogtreecommitdiff
path: root/compat/vcbuild/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/vcbuild/include/unistd.h')
-rw-r--r--compat/vcbuild/include/unistd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/vcbuild/include/unistd.h b/compat/vcbuild/include/unistd.h
index 2a4f276869..c65c2cd566 100644
--- a/compat/vcbuild/include/unistd.h
+++ b/compat/vcbuild/include/unistd.h
@@ -45,6 +45,13 @@ 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 UINT32_MAX 0xffffffff /* 4294967295U */
+
+#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2