From 9208960dab0fad7531c40e810bda6c5044f09f0d Mon Sep 17 00:00:00 2001 From: Cidorvan Leite Date: Thu, 15 May 2008 22:31:44 +0000 Subject: Added GPOINTER_TO_UINT macro --- eglib/gmain.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eglib/gmain.h') 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 -- cgit