[Asterisk-cvs] asterisk/include/asterisk strings.h,1.9,1.10
kpfleming
kpfleming
Tue Sep 13 22:31:58 CDT 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv31500/include/asterisk
Modified Files:
strings.h
Log Message:
don't double define our own string functions on platforms that don't have them (issue #5169)
Index: strings.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/strings.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- strings.h 8 Sep 2005 02:19:02 -0000 1.9
+++ strings.h 14 Sep 2005 02:30:33 -0000 1.10
@@ -214,7 +214,7 @@
char *strcasestr(const char *, const char *);
#endif
-#ifndef HAVE_STRNDUP
+#if !defined(HAVE_STRNDUP) && !defined(__AST_DEBUG_MALLOC)
char *strndup(const char *, size_t);
#endif
@@ -222,7 +222,7 @@
size_t strnlen(const char *, size_t);
#endif
-#ifndef HAVE_VASPRINTF
+#if !defined(HAVE_VASPRINTF) && !defined(__AST_DEBUG_MALLOC)
int vasprintf(char **strp, const char *fmt, va_list ap);
#endif
More information about the svn-commits
mailing list