From 735abbca130bb7180f762ff4859302bef8212383 Mon Sep 17 00:00:00 2001 From: Marco Paland Date: Fri, 2 Nov 2018 14:21:46 +0100 Subject: fix(readme): updated compiler switches --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bc2c62d..0bd9009 100644 --- a/README.md +++ b/README.md @@ -160,13 +160,13 @@ int length = sprintf(NULL, "Hello, world"); // length is set to 12 | Name | Default value | Description | |------|---------------|-------------| -| PRINTF_INCLUDE_CONFIG_H | undefined | Define this as compiler switch (e.g. `gcc -DPRINTF_INCLUDE_CONFIG_H`) to include a "printf_config.h" definition file | -| PRINTF_OVERRIDE_LIBC | undefined | Define this to override the LIBC function declarations by using `printf_()` instead of `printf()` directly | -| PRINTF_NTOA_BUFFER_SIZE | 32 | ntoa (integer) conversion buffer size. This must be big enough to hold one converted numeric number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack | -| PRINTF_FTOA_BUFFER_SIZE | 32 | ftoa (float) conversion buffer size. This must be big enough to hold one converted float number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack | -| PRINTF_SUPPORT_FLOAT | defined | Define this to enable floating point (%f) support | -| PRINTF_SUPPORT_LONG_LONG | defined | Define this to enable long long (%ll) support | -| PRINTF_SUPPORT_PTRDIFF_T | defined | Define this to enable ptrdiff_t (%t) support | +| PRINTF_INCLUDE_CONFIG_H | undefined | Define this as compiler switch (e.g. `gcc -DPRINTF_INCLUDE_CONFIG_H`) to include a "printf_config.h" definition file | +| PRINTF_OVERRIDE_LIBC | undefined | Define this to override the LIBC function declarations by using `printf_()` instead of `printf()` directly | +| PRINTF_NTOA_BUFFER_SIZE | 32 | ntoa (integer) conversion buffer size. This must be big enough to hold one converted numeric number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack | +| PRINTF_FTOA_BUFFER_SIZE | 32 | ftoa (float) conversion buffer size. This must be big enough to hold one converted float number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack | +| PRINTF_DISABLE_SUPPORT_FLOAT | undefined | Define this to enable floating point (%f) support | +| PRINTF_DISABLE_SUPPORT_LONG_LONG | undefined | Define this to enable long long (%ll) support | +| PRINTF_DISABLE_SUPPORT_PTRDIFF_T | undefined | Define this to enable ptrdiff_t (%t) support | ## Caveats -- cgit v1.2.3