aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/memory.c')
-rw-r--r--util/memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/memory.c b/util/memory.c
index af79cd0cb..ef9a315dc 100644
--- a/util/memory.c
+++ b/util/memory.c
@@ -42,6 +42,10 @@
#define MAGIC_SEC_BYTE 0xcc
#define MAGIC_END_BYTE 0xaa
+/* This is a very crude alignment check which does not work on all CPUs
+ * IIRC, I once introduced it for testing on an Alpha. We should better
+ * replace this guard stuff with one provided by a modern malloc library
+ */
#if SIZEOF_UNSIGNED_LONG == 8
#define EXTRA_ALIGN 4
#else