summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-27 13:28:44 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-28 12:38:23 +0300
commite4d7d6f0ab52cdb673e0534bfa9b64ece3c3181e (patch)
tree35bb847fdb9cd075e249b9edbca41f6f3d1bc9f6
parent426ff4ac4cd25536219a2b610b1b4ea27c1ae8bb (diff)
downloadlibwnck-e4d7d6f0ab52cdb673e0534bfa9b64ece3c3181e.tar.gz
xutils: fix 'G_SIZEOF_LONG is not defined' warning
-rw-r--r--libwnck/xutils.c2
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;