diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-08-05 16:52:46 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2011-08-05 16:52:46 +0000 |
commit | bf64b1ccb636ef6155b4635900cc5c8e4021dc76 (patch) | |
tree | 6bafc8bc322e1bd89198319bfbe280c92472debf /target/linux/ppc40x | |
parent | 2105acbe2804f5a065145701e5414ee923fd60a9 (diff) | |
download | upstream-bf64b1ccb636ef6155b4635900cc5c8e4021dc76.tar.gz upstream-bf64b1ccb636ef6155b4635900cc5c8e4021dc76.tar.bz2 upstream-bf64b1ccb636ef6155b4635900cc5c8e4021dc76.zip |
host/include/getline.h - Mac OS X 10.7 (Lion) fix
Apple has finally updated their version of Libc, and it now includes getline(). \o/
The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one
caveat is, the includes (at least stdio.h) are needed before the #ifdef so that
__DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define
like __linux__ or __APPLE__).
This one fixes the host/include/getline.h. The next patch will mend the mkimage
package.
Signed-off-by: Joe Roback <openwrt-devel at roback.cc>
SVN-Revision: 27916
Diffstat (limited to 'target/linux/ppc40x')
0 files changed, 0 insertions, 0 deletions