summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCidorvan Leite <cidorvan.leite@openbossa.org>2008-05-15 22:31:44 +0000
committerCidorvan Leite <cidorvan.leite@openbossa.org>2008-05-15 22:31:44 +0000
commit9208960dab0fad7531c40e810bda6c5044f09f0d (patch)
tree53eeaba2c056d20f755b40dd0276ed2602f1e678
parent15beaa4a782951b90b6a3dd5203fd0ed0141ab7b (diff)
Added GPOINTER_TO_UINT macro
-rw-r--r--eglib/gmain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/eglib/gmain.h b/eglib/gmain.h
index ac12c617..6bc08a81 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -28,6 +28,10 @@ typedef const void * gconstpointer;
typedef size_t gsize;
typedef ssize_t gssize;
+#ifndef GPOINTER_TO_UINT
+#define GPOINTER_TO_UINT(p) ((guint) (p))
+#endif
+
#ifndef SSIZE_MAX
#define SSIZE_MAX INT_MAX
#endif