diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2021-07-06 09:04:44 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2021-07-06 22:19:43 +0200 |
commit | b3cee266971d579746ea46468d58db646191c3a8 (patch) | |
tree | 04aa59c8764bcdc588e07cd5bf249560b7223220 /cmake/config.h.in | |
parent | 49548d72986f3087cc6a72cfac0747400dc2a309 (diff) | |
download | ccache-b3cee266971d579746ea46468d58db646191c3a8.tar.gz |
Move READ_BUFFER_SIZE to config.h, adding a CCACHE_ prefix
Diffstat (limited to 'cmake/config.h.in')
-rw-r--r-- | cmake/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in index 6014ca61..ed2e19d4 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -1,3 +1,6 @@ +// This file is included by all compilation units, including those in +// src/third_party. It should only contain macros and typedefs. + #pragma once #ifdef __clang__ # pragma clang diagnostic push @@ -186,3 +189,6 @@ typedef unsigned __int32 mode_t; typedef int pid_t; # endif #endif // _WIN32 + +// Buffer size for I/O operations. Should be a multiple of 4 KiB. +#define CCACHE_READ_BUFFER_SIZE 65536 |