summaryrefslogtreecommitdiff
path: root/dev-libs/dmalloc/files/dmalloc-5.5.2-string-macros.patch
blob: e3d4eb78fe52945d11bb09c23b08c7e2702b0e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/dmalloc.h.3
+++ b/dmalloc.h.3
@@ -405,6 +405,7 @@
  *
  * string -> String we are duplicating.
  */
+#undef strdup
 extern
 char	*strdup(const char *string);
 #endif /* ifndef DMALLOC_STRDUP_MACRO */
@@ -429,6 +430,7 @@
  *
  * len -> Length of the string to duplicate.
  */
+#undef strndup
 extern
 char	*strndup(const char *string, const DMALLOC_SIZE len);