summaryrefslogtreecommitdiff
path: root/upb/msg.c
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-23 13:42:33 -0800
committerJoshua Haberman <jhaberman@gmail.com>2019-01-23 13:42:33 -0800
commitf4532ab273173d96605ff22a7e47387023651625 (patch)
tree1e33d8c7e74250503b5cfaa86e097e2803222309 /upb/msg.c
parent315c167bedbe33386e0bffd537d1f28eb259c986 (diff)
Properly align the arena.
Diffstat (limited to 'upb/msg.c')
-rw-r--r--upb/msg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/upb/msg.c b/upb/msg.c
index 20401f9..b46d41c 100644
--- a/upb/msg.c
+++ b/upb/msg.c
@@ -17,8 +17,6 @@ bool upb_fieldtype_mapkeyok(upb_fieldtype_t type) {
/** upb_msgval ****************************************************************/
-#define upb_alignof(t) offsetof(struct { char c; t x; }, x)
-
/* These functions will generate real memcpy() calls on ARM sadly, because
* the compiler assumes they might not be aligned. */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback