On 17 May 2016 at 16:23, Rowley, Timothy O <timothy.o.row...@intel.com> wrote:
> It seems to me that we shouldn’t be redefining offsetof at all, but rather 
> including the appropriate header (cstddef) to make the definition available.  
> I’m removing this change and including that in swr’s os.h.  New title will 
> read something like “swr: [rasterizer common] include cstddef instead of 
> redefining offsetof"

Nice one Tim. I've seen this defined so many times that I did not even
assume it's part of the POSIX.1-2001, POSIX.1-2008, C89, C99
standards.

Thanks
Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to