[Libclc-dev] [PATCH] Don't include <stddef.h>
dumbbell at FreeBSD.org
Fri Oct 17 15:41:23 PDT 2014
On 18.10.2014 00:34, Jeroen Ketema wrote:
> This means we loose support for ptrdiff_t (typedef __PTRDIFF_TYPE__
> ptrdiff_t;), which is an OpenCL required type.
I'll add that type.
> Moreover, we loose NULL in this way. Although NULL is not strictly
> required, it’s useful to have around.
Are you fine with the following #define?
#define NULL ((void*)0)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: OpenPGP digital signature
More information about the Libclc-dev