On Fri, Mar 6, 2015 at 11:26 AM, Brian Paul <[email protected]> wrote:

> On Fri, Mar 6, 2015 at 9:32 AM, Emil Velikov <[email protected]>
> wrote:
>
>> Used for aligned_alloc and other C11 functions missing from the header.
>>
>> Signed-off-by: Emil Velikov <[email protected]>
>> ---
>>  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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to