diff options
author | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-05-15 22:37:04 +0000 |
---|---|---|
committer | Cidorvan Leite <cidorvan.leite@openbossa.org> | 2008-05-15 22:37:04 +0000 |
commit | 86893905a100c55e6c6c5feeec8ebc3c7909e3fb (patch) | |
tree | 995656e27037ee88e8a6e957f95c6798b3db20c0 | |
parent | bac8b236123c94ef6e7b723a7c920499f90014aa (diff) |
Added GUINT_TO_POINTER macro
-rw-r--r-- | eglib/gmain.h | 4 |
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 |