From: Tor Lillqvist Date: Mon, 4 Aug 2008 19:32:26 +0000 (+0000) Subject: Make the union _GSystemThread::data array 8 bytes on Win64. Not that it X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=fb17a5de30dbe64bd55fad022a022de48ad974d0;p=dana%2Fcg-glib.git Make the union _GSystemThread::data array 8 bytes on Win64. Not that it 2008-08-04 Tor Lillqvist * glibconfig.h.win32.in: Make the union _GSystemThread::data array 8 bytes on Win64. Not that it matters as the union contains a pointer also anyway, but for equivalence with the configure- generated glibconfig.h svn path=/trunk/; revision=7309 --- diff --git a/ChangeLog b/ChangeLog index b422a457..302da930 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-08-04 Tor Lillqvist + + * glibconfig.h.win32.in: Make the union _GSystemThread::data array + 8 bytes on Win64. Not that it matters as the union contains a + pointer also anyway, but for equivalence with the configure- + generated glibconfig.h + 2008-08-04 Tor Lillqvist * glib/gmain.c (g_get_current_time): MSDN says: "Do not cast a diff --git a/glibconfig.h.win32.in b/glibconfig.h.win32.in index 1a422c79..013a2135 100644 --- a/glibconfig.h.win32.in +++ b/glibconfig.h.win32.in @@ -200,7 +200,11 @@ typedef struct _GMutex* GStaticMutex; typedef union _GSystemThread GSystemThread; union _GSystemThread { +#ifndef _WIN64 char data[4]; +#else + char data[8]; +#endif double dummy_double; void *dummy_pointer; long dummy_long;