Make the union _GSystemThread::data array 8 bytes on Win64. Not that it
authorTor Lillqvist <tml@novell.com>
Mon, 4 Aug 2008 19:32:26 +0000 (19:32 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 4 Aug 2008 19:32:26 +0000 (19:32 +0000)
2008-08-04  Tor Lillqvist  <tml@novell.com>

* 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

ChangeLog
glibconfig.h.win32.in

index b422a45771b1adbd9bbb2d5dd60c47154dc28b15..302da9307768640c41d7ed938a33ec2ff3a32414 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-04  Tor Lillqvist  <tml@novell.com>
+
+       * 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  <tml@novell.com>
 
        * glib/gmain.c (g_get_current_time): MSDN says: "Do not cast a
index 1a422c799577cd043462c9a404cc784c5cfbe23b..013a213536d6bfa5d1db62b06094dfce98f8b366 100644 (file)
@@ -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;