[packages/dmalloc] undef macro 'strdup'
authorMirko Vogt <mirko@openwrt.org>
Wed, 11 Apr 2012 21:22:25 +0000 (21:22 +0000)
committerMirko Vogt <mirko@openwrt.org>
Wed, 11 Apr 2012 21:22:25 +0000 (21:22 +0000)
commitede7ea804240ef07dbbd68701563eccc0c75163e
tree60aac833b11c15ad428fa578a53cb98eba836b76
parent52c937fa53eca008b4403fef61daf0430b1cd8d3
[packages/dmalloc] undef macro 'strdup'

dmalloc defines its own prototypes of alloc/string-functions,
when compiling however with optimizations libc might turn 'strdup' into a macro which can't be overloaded that way anymore.
'undef strdup' before (re)defining.

gcc error: dmalloc.h:460:7: error: expected identifier or '(' before '__extension__'

SVN-Revision: 31253
devel/dmalloc/patches/400-undef-strndup.patch [new file with mode: 0644]