equal
deleted
inserted
replaced
|
1 Fix build problem with SunStudio compiler under Solaris. Patch taken |
|
2 from here: |
|
3 |
|
4 http://lists.gnu.org/archive/html/bug-gawk/2011-07/msg00008.html |
|
5 |
|
6 --- gawk-4.1.3/awk.h.orig 2013-04-07 18:54:28.000000000 +0100 |
|
7 +++ gawk-4.1.3/awk.h 2013-12-26 19:03:34.000000000 +0000 |
|
8 @@ -69,7 +69,7 @@ |
|
9 #endif /* LOCALEDIR */ |
|
10 #endif |
|
11 |
|
12 -#if !defined(__STDC__) || __STDC__ < 1 |
|
13 +#if !defined(__STDC__) || __STDC__ < 1 && !defined(__EXTENSIONS__) |
|
14 #error "gawk no longer supports non-C89 environments (no __STDC__ or __STDC__ < 1)" |
|
15 #endif |