On Fri, Mar 6, 2015 at 11:26 AM, Brian Paul <brian.e.p...@gmail.com> wrote:

> On Fri, Mar 6, 2015 at 9:32 AM, Emil Velikov <emil.l.veli...@gmail.com>
> wrote:
>
>> Used for aligned_alloc and other C11 functions missing from the header.
>>
>> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
>> ---
>>  include/c11_stdlib.h | 118 ++++++++++++++++++++++++++++++
>
>
> I wonder if this should be include/c11/stdlib.h instead.
>
> I also wonder if I should have put c99_math.h in c99/math.h  Jose followed
> my pattern with c99_alloca.h
>
> We should probably be more consistent about this.  What do you think?
>

Maybe scratch that, actually.  There's a distinction to be made between
wrapper headers and replacement headers.  c99_math.h is a wrapper for
math.h while c99/*.h are replacements for missing headers on MSVC.

So c11_stdlib.h is probably the right choice.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to