dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine lib_defs.h,1.18,1.19


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine lib_defs.h,1.18,1.19
Date: Wed, 05 Feb 2003 22:26:16 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv29273/engine

Modified Files:
        lib_defs.h 
Log Message:


Make sure that the System_Array header is padded to the best possible
alignment on 64-bit platforms.


Index: lib_defs.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_defs.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** lib_defs.h  26 Dec 2002 09:26:39 -0000      1.18
--- lib_defs.h  6 Feb 2003 03:26:13 -0000       1.19
***************
*** 50,58 ****
  
  /*
!  * Internal structure of an array header.
   */
! typedef struct
  {
!       ILInt32         length;
  
  } System_Array;
--- 50,61 ----
  
  /*
!  * Internal structure of an array header, padded to the best alignment.
   */
! typedef union
  {
!       ILInt32                 length;
! #if !defined(__i386) && !defined(__i386__)
!       unsigned char   pad[IL_BEST_ALIGNMENT];
! #endif
  
  } System_Array;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]