summaryrefslogtreecommitdiff
path: root/cmake/config.h.in
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2022-08-15 07:39:24 +0200
committerJoel Rosdahl <joel@rosdahl.net>2022-08-15 22:13:31 +0200
commit6f227afd935aee61e6ad32c85b570a16c3709957 (patch)
tree4ab330df07dd0c98ccc4d85ab9aa4b5842376b5b /cmake/config.h.in
parent94508882ca6a9b715b02de5d9f2d14de69496af7 (diff)
downloadccache-6f227afd935aee61e6ad32c85b570a16c3709957.tar.gz
enhance: Add util::{read_fd,read_file,write_file} functions
Diffstat (limited to 'cmake/config.h.in')
-rw-r--r--cmake/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in
index 83a3cf52..9210147e 100644
--- a/cmake/config.h.in
+++ b/cmake/config.h.in
@@ -210,6 +210,9 @@ typedef int pid_t;
#if !defined(_WIN32) && !defined(O_BINARY)
# define O_BINARY 0
#endif
+#if !defined(_WIN32) && !defined(O_TEXT)
+# define O_TEXT 0
+#endif
#ifndef ESTALE
# define ESTALE -1