diff --git a/lib/roken/roken-common.h b/lib/roken/roken-common.h index d3cf126e2..4b4bc2a95 100644 --- a/lib/roken/roken-common.h +++ b/lib/roken/roken-common.h @@ -258,6 +258,8 @@ #define __attribute__(x) #endif +#define rk_UNCONST(x) ((void *)(unsigned long)(const void *)(x)) + ROKEN_CPP_START #ifndef IRIX4 /* fix for compiler bug */