projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow override for unaligned reads in SpookyHashV2
[folly.git]
/
folly
/
Portability.h
diff --git
a/folly/Portability.h
b/folly/Portability.h
index 267bd82d6f967f89371c2819ab774a07121cc93b..63318a2ce3a2ae14783dc5f265071760b1756bd5 100644
(file)
--- a/
folly/Portability.h
+++ b/
folly/Portability.h
@@
-48,6
+48,10
@@
#endif
#endif
+#ifndef FOLLY_HAVE_UNALIGNED_READS
+#define FOLLY_HAVE_UNALIGNED_READS 0
+#endif
+
// A change in folly/MemoryMapping.cpp uses MAP_ANONYMOUS, which is named
// MAP_ANON on OSX/BSD.
#if defined(__APPLE__) || defined(__FreeBSD__)