Files
meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch
Khem Raj 64e1ba5bf7 libesmtp: Fix config.h define for snprintf detection
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-08 16:38:58 -04:00

20 lines
551 B
Diff

Use HAVE_WORKING_SNPRINTF to check for snprintf()
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: libesmtp-1.0.6/missing.h
===================================================================
--- libesmtp-1.0.6.orig/missing.h
+++ libesmtp-1.0.6/missing.h
@@ -43,7 +43,7 @@ int strncasecmp (const char *a, const ch
void *memrchr (const void *a, int c, size_t len);
#endif
-#ifndef HAVE_SNPRINTF
+#ifndef HAVE_WORKING_SNPRINTF
#include <sys/types.h>
int snprintf(char *s, size_t n, const char *format, ...);
#endif