Skip to content

Commit 735abbc

Browse files
committed
fix(readme): updated compiler switches
1 parent c84f546 commit 735abbc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ int length = sprintf(NULL, "Hello, world"); // length is set to 12
160160

161161
| Name | Default value | Description |
162162
|------|---------------|-------------|
163-
| 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 |
164-
| PRINTF_OVERRIDE_LIBC | undefined | Define this to override the LIBC function declarations by using `printf_()` instead of `printf()` directly |
165-
| 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 |
166-
| 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 |
167-
| PRINTF_SUPPORT_FLOAT | defined | Define this to enable floating point (%f) support |
168-
| PRINTF_SUPPORT_LONG_LONG | defined | Define this to enable long long (%ll) support |
169-
| PRINTF_SUPPORT_PTRDIFF_T | defined | Define this to enable ptrdiff_t (%t) support |
163+
| 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 |
164+
| PRINTF_OVERRIDE_LIBC | undefined | Define this to override the LIBC function declarations by using `printf_()` instead of `printf()` directly |
165+
| 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 |
166+
| 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 |
167+
| PRINTF_DISABLE_SUPPORT_FLOAT | undefined | Define this to enable floating point (%f) support |
168+
| PRINTF_DISABLE_SUPPORT_LONG_LONG | undefined | Define this to enable long long (%ll) support |
169+
| PRINTF_DISABLE_SUPPORT_PTRDIFF_T | undefined | Define this to enable ptrdiff_t (%t) support |
170170

171171

172172
## Caveats

0 commit comments

Comments
 (0)