components/gnutls-3/patches/01_def_max_align_t.patch
branchs11u3-sru
changeset 7287 147d8c6e4c81
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gnutls-3/patches/01_def_max_align_t.patch	Mon Oct 24 01:08:41 2016 -0700
@@ -0,0 +1,26 @@
+Source:
+Internal
+
+Info:
+This patch checks to see if _MAX_ALIGN_T has been defined.
+
+Status: This patch is Solaris specific. It will not be sent upstream.
+
+--- ORIGINAL/src/gl/stddef.in.h		Sat Sep 26 05:02:10 2015
++++ gnutls-3.4.1/src/gl/stddef.in.h	Wed Nov  4 14:17:07 2015
+@@ -94,6 +94,7 @@
+ # else
+ #  define _GL_STDDEF_ALIGNAS(type) /* */
+ # endif
++#ifndef	_MAX_ALIGN_T
+ typedef union
+ {
+   char *__p _GL_STDDEF_ALIGNAS (char *);
+@@ -101,6 +102,7 @@
+   long double __ld _GL_STDDEF_ALIGNAS (long double);
+   long int __i _GL_STDDEF_ALIGNAS (long int);
+ } max_align_t;
++#endif /* #ifndef _MAX_ALIGN_T */
+ #endif
+ 
+ #  endif /* _@GUARD_PREFIX@_STDDEF_H */