summaryrefslogtreecommitdiff
path: root/src/pal/src/config.h.in
diff options
context:
space:
mode:
authorOmair Majid <omair.majid@gmail.com>2017-09-05 19:22:55 -0400
committerJan Vorlicek <janvorli@microsoft.com>2017-09-06 01:22:55 +0200
commita8f83b615708c529b112898e7d2fbc3f618b26ee (patch)
tree0528c79675cd64d823fc6eb841dbaa3786a2af9d /src/pal/src/config.h.in
parent342db113af0fe0743f5a3baf7b2390c80b0a8969 (diff)
downloadcoreclr-a8f83b615708c529b112898e7d2fbc3f618b26ee.tar.gz
coreclr-a8f83b615708c529b112898e7d2fbc3f618b26ee.tar.bz2
coreclr-a8f83b615708c529b112898e7d2fbc3f618b26ee.zip
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
Diffstat (limited to 'src/pal/src/config.h.in')
-rw-r--r--src/pal/src/config.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pal/src/config.h.in b/src/pal/src/config.h.in
index 664ae59158..0052880d68 100644
--- a/src/pal/src/config.h.in
+++ b/src/pal/src/config.h.in
@@ -77,6 +77,7 @@
#cmakedefine01 HAVE_PT_REGS
#cmakedefine01 HAVE_GREGSET_T
#cmakedefine01 HAVE___GREGSET_T
+#cmakedefine01 HAVE_FPSTATE_GLIBC_RESERVED1
#cmakedefine01 HAVE_SIGINFO_T
#cmakedefine01 HAVE_UCONTEXT_T
#cmakedefine01 HAVE_PTHREAD_RWLOCK_T