[packages/dmalloc] undef macro 'strdup'
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Apr 2012 21:22:25 +0000 (21:22 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Apr 2012 21:22:25 +0000 (21:22 +0000)
commit9c7721b0663f6837bdcdedf5f1cafa7dd554e359
tree60aac833b11c15ad428fa578a53cb98eba836b76
parentdf636d662db4e8728d685356a1cc22a2e6a31bcd
[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__'

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31253 3c298f89-4303-0410-b956-a3cf2f4a3e73
devel/dmalloc/patches/400-undef-strndup.patch [new file with mode: 0644]