aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libesmtp/libesmtp/snprintf.patch
blob: d0d203eadb292b7f212fb8289086478c6b0303a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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