summaryrefslogtreecommitdiff
path: root/cmake/config.h.in
diff options
context:
space:
mode:
authorRichard O'Grady <rjogrady@google.com>2023-04-10 20:48:20 -0700
committerRichard O'Grady <rjogrady@google.com>2023-04-11 10:38:23 -0700
commitcfc573e08faf4d4c61a2bd8ccbfba1803a0fef59 (patch)
tree1571361b64e7fd1fa37cf4f0104616ea4fcfbfa4 /cmake/config.h.in
parent92f18e66fdf34bdde3d5116ca3fac3910fe14fc5 (diff)
downloadsnappy-git-cfc573e08faf4d4c61a2bd8ccbfba1803a0fef59.tar.gz
Define missing SNAPPY_PREFETCH macros.
PiperOrigin-RevId: 523287305
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 d1de25c..3510c27 100644
--- a/cmake/config.h.in
+++ b/cmake/config.h.in
@@ -10,6 +10,9 @@
/* Define to 1 if the compiler supports __builtin_expect. */
#cmakedefine01 HAVE_BUILTIN_EXPECT
+/* Define to 1 if the compiler supports __builtin_prefetch. */
+#cmakedefine01 HAVE_BUILTIN_PREFETCH
+
/* Define to 1 if you have a definition for mmap() in <sys/mman.h>. */
#cmakedefine01 HAVE_FUNC_MMAP