summaryrefslogtreecommitdiff
path: root/quantum/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/util.h')
-rw-r--r--quantum/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/util.h b/quantum/util.h
index 9c034cc404..21e3487b28 100644
--- a/quantum/util.h
+++ b/quantum/util.h
@@ -46,3 +46,7 @@
*/
# define ARRAY_SIZE(array) (__builtin_choose_expr(IS_ARRAY((array)), sizeof((array)) / sizeof((array)[0]), (void)0))
#endif
+
+#if !defined(PACKED)
+# define PACKED __attribute__((__packed__))
+#endif