Add support for building under glibc 2.26 (#13785)
authorOmair Majid <omair.majid@gmail.com>
Tue, 5 Sep 2017 23:22:55 +0000 (19:22 -0400)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 5 Sep 2017 23:22:55 +0000 (01:22 +0200)
commita8f83b615708c529b112898e7d2fbc3f618b26ee
tree0528c79675cd64d823fc6eb841dbaa3786a2af9d
parent342db113af0fe0743f5a3baf7b2390c80b0a8969
Add support for building under glibc 2.26 (#13785)

glibc 2.26 renames a number of identifiers so they are reserved under
POSIX. Specifically, `padding` becomes `__glibc_reserved1`. Add a
configure test for it and use the appropriate field name.

See https://sourceware.org/bugzilla/show_bug.cgi?id=21457 for more
information.

Resolves #13009
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/include/pal/context.h