diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-02-28 19:38:51 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-02-28 19:38:51 (GMT) |
commit | 5e67cded409218e4957c0921cd6b0dca7ba63317 (patch) | |
tree | b479694d6bdc2eceaa86ce9e41b2420826017ab1 /Include/objimpl.h | |
parent | c948966fc4bc301e375d059a23c716a99aef4352 (diff) | |
download | cpython-5e67cded409218e4957c0921cd6b0dca7ba63317.zip cpython-5e67cded409218e4957c0921cd6b0dca7ba63317.tar.gz cpython-5e67cded409218e4957c0921cd6b0dca7ba63317.tar.bz2 |
PyGC_Head: Use "long double" instead of "double" as the worst-case
alignment gimmick. David Abrahams notes that the standard "long double"
actually requires stricter alignment than "double" on some Tru64 box.
On my box and yours <wink>, it's the same, so no harm done on most
boxes.
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r-- | Include/objimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h index e8aad54..a616620 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -272,7 +272,7 @@ typedef union _gc_head { union _gc_head *gc_prev; int gc_refs; } gc; - double dummy; /* force worst-case alignment */ + long double dummy; /* force worst-case alignment */ } PyGC_Head; extern PyGC_Head _PyGC_generation0; |