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)
commit4669fe9ca443030a3594b7f2490387cc8901a0e9
tree550a9559971a8963345f956b12886f9fb4d8cd26
parenta44994d2bd8f82cf1938f8f860516e5095aa9279
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]