25 lines
704 B
Diff
25 lines
704 B
Diff
|
From 59d73a473f1c1a31bcba90d314f956d0bcc3de95 Mon Sep 17 00:00:00 2001
|
||
|
From: Siana Gearz <siana.sg@live.de>
|
||
|
Date: Sat, 8 Sep 2012 22:55:17 +0200
|
||
|
Subject: [PATCH] Fix strdup
|
||
|
|
||
|
[Retrieved from:
|
||
|
https://github.com/siana/dmalloc/commit/59d73a473f1c1a31bcba90d314f956d0bcc3de95]
|
||
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||
|
---
|
||
|
dmalloc.h.3 | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/dmalloc.h.3 b/dmalloc.h.3
|
||
|
index d3d1c13..3fc573a 100644
|
||
|
--- a/dmalloc.h.3
|
||
|
+++ b/dmalloc.h.3
|
||
|
@@ -459,6 +459,7 @@ DMALLOC_PNT valloc(DMALLOC_SIZE size);
|
||
|
*
|
||
|
* string -> String we are duplicating.
|
||
|
*/
|
||
|
+#undef strdup
|
||
|
extern
|
||
|
char *strdup(const char *string);
|
||
|
#endif /* ifndef DMALLOC_STRDUP_MACRO */
|