[Libclc-dev] [PATCH] Don't include <stddef.h>
j.ketema at imperial.ac.uk
Fri Oct 17 15:56:11 PDT 2014
> On 17 Oct 2014, at 23:41, Jean-Sébastien Pédron <dumbbell at FreeBSD.org> wrote:
> 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)
That seems to be the one that is currently picked up from stddef. So, yes.
> Jean-Sébastien Pédron
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
More information about the Libclc-dev