Kaydet (Commit) 5e67cded authored tarafından Tim Peters's avatar Tim Peters

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.
üst c948966f
...@@ -272,7 +272,7 @@ typedef union _gc_head { ...@@ -272,7 +272,7 @@ typedef union _gc_head {
union _gc_head *gc_prev; union _gc_head *gc_prev;
int gc_refs; int gc_refs;
} gc; } gc;
double dummy; /* force worst-case alignment */ long double dummy; /* force worst-case alignment */
} PyGC_Head; } PyGC_Head;
extern PyGC_Head _PyGC_generation0; extern PyGC_Head _PyGC_generation0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment