Allow override for unaligned reads in SpookyHashV2
[folly.git] / folly / Portability.h
index 267bd82d6f967f89371c2819ab774a07121cc93b..63318a2ce3a2ae14783dc5f265071760b1756bd5 100644 (file)
  #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__)