equal
deleted
inserted
replaced
4 # with additional header changes. This is not being submitted |
4 # with additional header changes. This is not being submitted |
5 # upstream until we have a clear path forward. |
5 # upstream until we have a clear path forward. |
6 # |
6 # |
7 --- gcc-5.3.0/gcc/config/sol2.h.orig Sat Jan 16 22:00:10 2016 |
7 --- gcc-5.3.0/gcc/config/sol2.h.orig Sat Jan 16 22:00:10 2016 |
8 +++ gcc-5.3.0/gcc/config/sol2.h Sat Jan 16 22:02:58 2016 |
8 +++ gcc-5.3.0/gcc/config/sol2.h Sat Jan 16 22:02:58 2016 |
9 @@ -94,12 +94,26 @@ |
9 @@ -94,12 +94,23 @@ |
10 library. */ \ |
10 library. */ \ |
11 if (c_dialect_cxx ()) \ |
11 if (c_dialect_cxx ()) \ |
12 { \ |
12 { \ |
13 - builtin_define ("__STDC_VERSION__=199901L");\ |
13 - builtin_define ("__STDC_VERSION__=199901L");\ |
14 - builtin_define ("_XOPEN_SOURCE=600"); \ |
14 - builtin_define ("_XOPEN_SOURCE=600"); \ |
22 + builtin_define ("__STDC_VERSION__=199409L");\ |
22 + builtin_define ("__STDC_VERSION__=199409L");\ |
23 + builtin_define ("_XOPEN_SOURCE=500"); \ |
23 + builtin_define ("_XOPEN_SOURCE=500"); \ |
24 + break; \ |
24 + break; \ |
25 + case cxx11: \ |
25 + case cxx11: \ |
26 + case cxx14: \ |
26 + case cxx14: \ |
27 + builtin_define ("__STDC_VERSION__=199901L");\ |
|
28 + builtin_define ("_XOPEN_SOURCE=700"); \ |
|
29 + break; \ |
|
30 + default: \ |
27 + default: \ |
31 + builtin_define ("__STDC_VERSION__=199901L");\ |
28 + builtin_define ("__STDC_VERSION__=199901L");\ |
32 + builtin_define ("_XOPEN_SOURCE=600"); \ |
29 + builtin_define ("_XOPEN_SOURCE=600"); \ |
33 + break; \ |
30 + break; \ |
34 + } \ |
31 + } \ |