aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Port/ordered_code.cc
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-12-11 19:50:14 -0800
committerGravatar GitHub <noreply@github.com>2017-12-11 19:50:14 -0800
commita4d2614d73ccea3bac9dbade6b13326cbfc8cabc (patch)
tree5b7572b0bd99560bd808925bd617ff2d3354e7ca /Firestore/Port/ordered_code.cc
parent43774fec33adda895609ccd61d7c00e71d2396bb (diff)
Remove prerelease abseil code (#558)
* Add abseil bits to the iOS build * Migrate from prerelease to published abseil bits in ordered_code * Remove prerelease abseil code
Diffstat (limited to 'Firestore/Port/ordered_code.cc')
-rw-r--r--Firestore/Port/ordered_code.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/Firestore/Port/ordered_code.cc b/Firestore/Port/ordered_code.cc
index 038d445..05a1569 100644
--- a/Firestore/Port/ordered_code.cc
+++ b/Firestore/Port/ordered_code.cc
@@ -18,11 +18,17 @@
#include <assert.h>
+#include <absl/base/internal/endian.h>
+#include <absl/base/internal/unaligned_access.h>
+#include <absl/base/port.h>
+#include <leveldb/db.h> // For Slice
+
#include "Firestore/Port/bits.h"
-#include "Firestore/Port/absl/absl_endian.h"
-#include "Firestore/Port/absl/absl_port.h"
-#include <leveldb/db.h> // For Slice
+#define UNALIGNED_LOAD32 ABSL_INTERNAL_UNALIGNED_LOAD32
+#define UNALIGNED_LOAD64 ABSL_INTERNAL_UNALIGNED_LOAD64
+#define UNALIGNED_STORE32 ABSL_INTERNAL_UNALIGNED_STORE32
+#define UNALIGNED_STORE64 ABSL_INTERNAL_UNALIGNED_STORE64
// We encode a string in different ways depending on whether the item
// should be in lexicographically increasing or decreasing order.