Update strdup wrapper for current dmalloc version
This commit is contained in:
parent
3ff8a2666d
commit
9567fc1074
|
@ -84,7 +84,7 @@
|
||||||
#ifdef DMALLOC
|
#ifdef DMALLOC
|
||||||
/* linux has its own strdup macro, make sure we use dmalloc's */
|
/* linux has its own strdup macro, make sure we use dmalloc's */
|
||||||
#define sigar_strdup(s) \
|
#define sigar_strdup(s) \
|
||||||
dmalloc_strdup(__FILE__, __LINE__, s, 0);
|
dmalloc_strndup(__FILE__, __LINE__, (s), -1, 0)
|
||||||
#else
|
#else
|
||||||
# ifdef WIN32
|
# ifdef WIN32
|
||||||
# define sigar_strdup(s) _strdup(s)
|
# define sigar_strdup(s) _strdup(s)
|
||||||
|
|
Loading…
Reference in New Issue