diff options
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 5 | ||||
-rw-r--r-- | pc/config.h | 3 | ||||
-rw-r--r-- | pc/config.sed | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index 2bfbf090..e623a9a3 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,8 @@ +2018-03-22 Arnold D. Robbins <arnold@skeeve.com> + + * config.h: Add support for printf %a format. + * config.sed: Ditto. + 2018-03-13 Arnold D. Robbins <arnold@skeeve.com> * gawkmisc.pc: Update copyright year. diff --git a/pc/config.h b/pc/config.h index e68b84ce..52d5a964 100644 --- a/pc/config.h +++ b/pc/config.h @@ -473,6 +473,9 @@ /* Define to the version of this package. */ #define PACKAGE_VERSION "4.2.1a" +/* Define to 1 if *printf supports %a format */ +#define PRINTF_HAS_A_FORMAT 1 + /* Define to 1 if *printf supports %F format */ #ifdef __DJGPP__ #define PRINTF_HAS_F_FORMAT 1 diff --git a/pc/config.sed b/pc/config.sed index 5b3cc32f..a7ba8788 100644 --- a/pc/config.sed +++ b/pc/config.sed @@ -273,6 +273,8 @@ s/^#undef HAVE_VPRINTF *$/#define HAVE_VPRINTF 1/ #ifdef __DJGPP__\ #define HAVE__BOOL 1\ #endif +/^#undef PRINTF_HAS_A_FORMAT *$/c\ +#define PRINTF_HAS_A_FORMAT 1 /^#undef PRINTF_HAS_F_FORMAT *$/c\ #ifdef __DJGPP__\ #define PRINTF_HAS_F_FORMAT 1\ |