Blame SOURCES/glibc-rh1505492-undef-max_align_t.patch

25845f
Fix -Wundef warning around the definition of max_align_t.  Updates
25845f
glibc-rh1418978-max_align_t.patch.  Upstream assumes C11 support and
25845f
therefore does not need this definition.
25845f
25845f
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h
25845f
index 29da941991f9a206..25ff204e4c632865 100644
25845f
--- a/include/sys/cdefs.h
25845f
+++ b/include/sys/cdefs.h
25845f
@@ -20,7 +20,8 @@ rtld_hidden_proto (__chk_fail)
25845f
    is also available in C99 mode.  The aligned attributes are required
25845f
    because some ABIs have reduced alignment requirements for struct and
25845f
    union members.  */
25845f
-#if __STDC_VERSION__ < 201112L && __cplusplus < 201103L
25845f
+#if (!defined (__STDC_VERSION__) || __STDC_VERSION__ < 201112L) \
25845f
+  && (!defined (__cplusplus) || __cplusplus < 201103L)
25845f
 typedef struct {
25845f
   long long ll __attribute__ ((__aligned__ (__alignof__ (long long))));
25845f
   long double ld __attribute__ ((__aligned__ (__alignof__ (long double))));