Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | Use HAVE_WORKING_SNPRINTF to check for snprintf() |
| 2 | |
| 3 | Upstream-Status: Pending |
| 4 | |
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 6 | |
| 7 | Index: libesmtp-1.0.6/missing.h |
| 8 | =================================================================== |
| 9 | --- libesmtp-1.0.6.orig/missing.h |
| 10 | +++ libesmtp-1.0.6/missing.h |
| 11 | @@ -43,7 +43,7 @@ int strncasecmp (const char *a, const ch |
| 12 | void *memrchr (const void *a, int c, size_t len); |
| 13 | #endif |
| 14 | |
| 15 | -#ifndef HAVE_SNPRINTF |
| 16 | +#ifndef HAVE_WORKING_SNPRINTF |
| 17 | #include <sys/types.h> |
| 18 | int snprintf(char *s, size_t n, const char *format, ...); |
| 19 | #endif |