diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-17 18:08:11 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-17 18:08:11 +0300 |
commit | c783f297faa2453daca7189182a17f913e003ccc (patch) | |
tree | 0527171103dbe568658ea21262e1027b7023bf9a /accel-pppd/memdebug.h | |
parent | 56762d9574d05bff9709c856f9f466c51156f549 (diff) | |
download | accel-ppp-c783f297faa2453daca7189182a17f913e003ccc.tar.gz accel-ppp-c783f297faa2453daca7189182a17f913e003ccc.zip |
memory usage optimization
Diffstat (limited to 'accel-pppd/memdebug.h')
-rw-r--r-- | accel-pppd/memdebug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/memdebug.h b/accel-pppd/memdebug.h index dc6b9ad..98e87d0 100644 --- a/accel-pppd/memdebug.h +++ b/accel-pppd/memdebug.h @@ -22,6 +22,8 @@ void md_check(void *ptr); #define _malloc(size) malloc(size) #define _realloc(ptr, size) realloc(ptr, size) #define _free(ptr) free(ptr) +#define _strdup(str) strdup(str) +#define _strndup(str, size) strndup(str, size) #endif #endif |