equal
deleted
inserted
replaced
1 Source: |
1 Source: |
2 Internal |
2 Internal |
3 |
3 |
4 Info: |
4 Info: |
5 This patch check to see if _MAX_ALIGN_T has been defined. |
5 This patch checks to see if _MAX_ALIGN_T has been defined. |
6 |
6 |
7 Status: |
7 Status: This patch is Solaris specific. It will not be sent upstream. |
8 Need to determine if this patch has been sent upstream. |
|
9 |
8 |
10 --- ORIGINAL/src/gl/stddef.in.h 2015-07-24 17:04:37.414430921 -0700 |
9 --- ORIGINAL/src/gl/stddef.in.h Sat Sep 26 05:02:10 2015 |
11 +++ gnutls-3.4.1/src/gl/stddef.in.h 2015-07-24 16:58:31.925282844 -0700 |
10 +++ gnutls-3.4.1/src/gl/stddef.in.h Wed Nov 4 14:17:07 2015 |
12 @@ -83,6 +83,7 @@ |
11 @@ -94,6 +94,7 @@ |
13 |
12 # else |
14 /* Some platforms lack max_align_t. */ |
13 # define _GL_STDDEF_ALIGNAS(type) /* */ |
15 #if !@HAVE_MAX_ALIGN_T@ |
14 # endif |
16 + #ifndef _MAX_ALIGN_T |
15 +#ifndef _MAX_ALIGN_T |
17 typedef union |
16 typedef union |
18 { |
17 { |
19 char *__p; |
18 char *__p _GL_STDDEF_ALIGNAS (char *); |
20 @@ -90,6 +91,7 @@ |
19 @@ -101,6 +102,7 @@ |
21 long double __ld; |
20 long double __ld _GL_STDDEF_ALIGNAS (long double); |
22 long int __i; |
21 long int __i _GL_STDDEF_ALIGNAS (long int); |
23 } max_align_t; |
22 } max_align_t; |
24 + #endif /* #ifndef _MAX_ALIGN_T */ |
23 +#endif /* #ifndef _MAX_ALIGN_T */ |
25 #endif |
24 #endif |
26 |
25 |
27 # endif /* _@GUARD_PREFIX@_STDDEF_H */ |
26 # endif /* _@GUARD_PREFIX@_STDDEF_H */ |