Subject: Re: __UNCONST(a)
To: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 06/30/2004 00:15:17
On Jun 30, 1:09pm, firstname.lastname@example.org (Jun-ichiro itojun Hagino) wrote:
-- Subject: Re: __UNCONST(a)
| > I would like to add:
| > /* No intptr_t dependency here */
| > #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
| > in <sys/cdefs.h>
| > Any objections?
| unsigned long -> intptr_t?
As I explained in the comment, I don't want to introduce an intptr_t
dependency in <sys/cdefs.h> because it is not always avalailable, for
example in a standalone environment. We could make it available, but
currently we don't.