summaryrefslogtreecommitdiffstats
path: root/eglib/gmain.h
diff options
context:
space:
mode:
Diffstat (limited to 'eglib/gmain.h')
-rw-r--r--eglib/gmain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/eglib/gmain.h b/eglib/gmain.h
index 6bc08a81..9d53a429 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -32,6 +32,10 @@ typedef ssize_t gssize;
#define GPOINTER_TO_UINT(p) ((guint) (p))
#endif
+#ifndef GUINT_TO_POINTER
+#define GUINT_TO_POINTER(u) ((gpointer) (u))
+#endif
+
#ifndef SSIZE_MAX
#define SSIZE_MAX INT_MAX
#endif