[Python-checkins] CVS: python/dist/src/Include objimpl.h,2.43,2.44

Tim Peters tim_one@users.sourceforge.net
Thu, 28 Feb 2002 11:38:53 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv10713/python/Include

Modified Files:
	objimpl.h 
Log Message:
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.


Index: objimpl.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/objimpl.h,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -d -r2.43 -r2.44
*** objimpl.h	11 Oct 2001 18:31:31 -0000	2.43
--- objimpl.h	28 Feb 2002 19:38:51 -0000	2.44
***************
*** 273,277 ****
  		int gc_refs;
  	} gc;
! 	double dummy;  /* force worst-case alignment */
  } PyGC_Head;
  
--- 273,277 ----
  		int gc_refs;
  	} gc;
! 	long double dummy;  /* force worst-case alignment */
  } PyGC_Head;