author | Craig Mohrman <craig.mohrman@oracle.com> |
Mon, 18 Apr 2016 13:01:02 -0700 | |
changeset 5797 | 432ac76de3b0 |
parent 5267 | 42a22f73f3bc |
permissions | -rw-r--r-- |
5267
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
1 |
Fix build problem with SunStudio compiler under Solaris. Patch taken |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
2 |
from here: |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
3 |
|
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
4 |
http://lists.gnu.org/archive/html/bug-gawk/2011-07/msg00008.html |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
5 |
|
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
6 |
--- gawk-4.1.3/awk.h.orig 2013-04-07 18:54:28.000000000 +0100 |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
7 |
+++ gawk-4.1.3/awk.h 2013-12-26 19:03:34.000000000 +0000 |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
8 |
@@ -69,7 +69,7 @@ |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
9 |
#endif /* LOCALEDIR */ |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
10 |
#endif |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
11 |
|
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
12 |
-#if !defined(__STDC__) || __STDC__ < 1 |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
13 |
+#if !defined(__STDC__) || __STDC__ < 1 && !defined(__EXTENSIONS__) |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
14 |
#error "gawk no longer supports non-C89 environments (no __STDC__ or __STDC__ < 1)" |
42a22f73f3bc
16797908 Upgrade gawk to 4.1.3
Stacy Yeh <stacy.yeh@oracle.com>
parents:
diff
changeset
|
15 |
#endif |