aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-23 09:58:06 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-23 09:58:06 +0300
commit26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f (patch)
tree3c1a5d7052668fea974333d9419d4c5304ff6664 /awk.h
parentcfd4fdf483194e09c57da590ada1e3533a19e615 (diff)
downloadegawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.tar.gz
egawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.tar.bz2
egawk-26b1a15e75cc1d134e8b52b0df9a5d1365e66d8f.zip
Small fix for Sun compilers.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index 1051036f..4de6cfc8 100644
--- a/awk.h
+++ b/awk.h
@@ -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>