[libwnck/wip/warnings2: 5/6] xutils: fix 'G_SIZEOF_LONG is not defined' warning



commit 1dc6a5a27e47cf056e30bc33ce7c767cb097ae24
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Apr 27 13:28:44 2017 +0300

    xutils: fix 'G_SIZEOF_LONG is not defined' warning

 libwnck/xutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/xutils.c b/libwnck/xutils.c
index 40ead7f..9bb1681 100644
--- a/libwnck/xutils.c
+++ b/libwnck/xutils.c
@@ -829,7 +829,7 @@ _wnck_xid_hash (gconstpointer v)
   gulong val = * (const gulong *) v;
 
   /* I'm not sure this works so well. */
-#if G_SIZEOF_LONG > 4
+#if GLIB_SIZEOF_LONG > 4
   return (guint) (val ^ (val >> 32));
 #else
   return val;


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