Fix 32-bit alignment bug.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2342 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2000-05-16 23:47:05 +00:00
parent e0261c6254
commit 846240b7e1

View File

@@ -31,9 +31,12 @@
/* This file defines an API for using globally unique identifiers. */
/* The type used to store guids */
typedef struct _GUID
typedef union _GUID
{
unsigned char data[16];
int __align_me; /* this just ensures that GUIDs are 32-bit
* aligned on systems that need them to be. */
} GUID;