Use FOLLY_DEPRECATED rather than directly using GCC specific attributes.
[folly.git] / folly / Portability.h
index d0c37d9b5aac56dc014a80d6c6f8a1eda3da3909..63318a2ce3a2ae14783dc5f265071760b1756bd5 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef FOLLY_PORTABILITY_H_
 #define FOLLY_PORTABILITY_H_
 
+// @nocommit invalidate ccache 20151125 (see #8764509)
+
 #include <string.h>
 
 #include <cstddef>
  #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__)