commit | 93e5dd87a1fc9782b877d41efa6222f55a0e4167 | [log] [tgz] |
---|---|---|
author | Arnold D. Robbins <arnold@skeeve.com> | Thu Apr 16 20:56:49 2020 +0300 |
committer | Arnold D. Robbins <arnold@skeeve.com> | Thu Apr 16 20:56:49 2020 +0300 |
tree | 23c86288516f265f9e8651cd307aa08b07d2d9b8 | |
parent | c3d8f9c50011b7e8e19449b0712e700c0aeb8543 [diff] [blame] |
Fix noreturn for old compilers.
diff --git a/awk.h b/awk.h index 4e01325..36a4286 100644 --- a/awk.h +++ b/awk.h
@@ -25,7 +25,11 @@ #include <assert.h> #include <stdint.h> #include <stdbool.h> +#if __STDC__ <= 199901L +#define noreturn +#else #include <stdnoreturn.h> +#endif typedef double Awkfloat;