[packages/dmalloc] undef macro 'strdup'
[openwrt/svn-archive/archive.git] / devel / dmalloc / patches / 400-undef-strndup.patch
1 --- dmalloc-5.5.2/dmalloc.h.3 2012-04-11 22:59:21.624323311 +0200
2 +++ dmalloc-5.5.2.mod/dmalloc.h.3 2012-04-11 23:00:53.612325497 +0200
3 @@ -405,6 +405,7 @@
4 *
5 * string -> String we are duplicating.
6 */
7 +#undef strdup
8 extern
9 char *strdup(const char *string);
10 #endif /* ifndef DMALLOC_STRDUP_MACRO */