diff options
Diffstat (limited to 'lib/alignof.h')
-rw-r--r-- | lib/alignof.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/alignof.h b/lib/alignof.h index 5e71f6cbb..4d03e35c9 100644 --- a/lib/alignof.h +++ b/lib/alignof.h @@ -31,7 +31,7 @@ # define alignof_slot(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) #endif -/* Determine the good alignment of a object of the given type at compile time. +/* Determine the good alignment of an object of the given type at compile time. Note that this is not necessarily the same as alignof_slot(type). For example, with GNU C on x86 platforms: alignof_type(double) = 8, but - when -malign-double is not specified: alignof_slot(double) = 4, |