diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-23 09:58:06 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-23 09:58:06 +0300 |
commit | 26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f (patch) | |
tree | 3c1a5d7052668fea974333d9419d4c5304ff6664 | |
parent | cfd4fdf483194e09c57da590ada1e3533a19e615 (diff) | |
download | egawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.tar.gz egawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.tar.bz2 egawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.zip |
Small fix for Sun compilers.
-rwxr-xr-x | ChangeLog | 5 | ||||
-rw-r--r-- | awk.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2018-09-23 Steven Packard <spackard1@bloomberg.net> + + * awk.h: Add `#if !defined(__SUNPRO_C)' around check for non-ANSI + compilers. Needed for some Solaris systems. + 2018-09-21 Arnold D. Robbins <arnold@skeeve.com> * re.c (make_regexp): Handle backslash at end of @@ -65,9 +65,11 @@ #endif /* LOCALEDIR */ #endif +#if !defined(__SUNPRO_C) #if !defined(__STDC__) || __STDC__ < 1 #error "gawk no longer supports non-C89 environments (no __STDC__ or __STDC__ < 1)" #endif +#endif #if defined(HAVE_STDARG_H) #include <stdarg.h> |