diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-10-21 00:52:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-10-21 00:52:14 +0000 |
commit | a71c83bc448a0bf63ca753840f78f1c5b36bcdff (patch) | |
tree | 59c35f05e30477dc9ba419c2be77fbbd273a6bd5 /include/sys/un.h | |
parent | 7bda1856da37818bcc746ba00e6737dc8490ea73 (diff) |
Doh! In include/bits/uClibc_config.h when we define things, we appropriately
prepend "__". Unfortunately, when we #undef things, we do not prepend the
"__". This results in collateral damage to unsuspecting applications as we
undefine random unrelated macros. Oops.
For example, when compiling xfree86, libGLcore.a defines MALLOC for its own usage.
But include/bits/uClibc_config.h then does an
#undef MALLOC
#define __MALLOC_930716__ 1
which inadvertantly trashes the define from libGLcore.... Ouch.
The autogenerated include/bits/uClibc_config.h should instead have
contained:
#undef __MALLOC__
#define __MALLOC_930716__ 1
This patch makes that happen.
Diffstat (limited to 'include/sys/un.h')
0 files changed, 0 insertions, 0 deletions