Update strdup wrapper for current dmalloc version

This commit is contained in:
Doug MacEachern 2007-07-26 02:46:56 +00:00
parent 3ff8a2666d
commit 9567fc1074
1 changed files with 1 additions and 1 deletions

View File

@ -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)