[Mesa-dev] [PATCH 08/18] swr: [rasterizer common] gcc/clang cleanup
Emil Velikov
emil.l.velikov at gmail.com
Wed May 18 11:14:10 UTC 2016
On 17 May 2016 at 16:23, Rowley, Timothy O <timothy.o.rowley at 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
More information about the mesa-dev
mailing list