commit | 64b150213365db6be97a98d25884f87d83caacaf | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Jan 08 02:48:03 2010 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jan 26 00:07:13 2010 +0100 |
tree | ba4fa5cceead362257f8f8aa0c80333721798ec4 | |
parent | e852d36a1e12864ab0656729c45c846e65efa4ee [diff] [blame] |
getline: split out for darwin systems At least on OS X 10.5 and older, getline does not exist. So split out the function from the mingw code so that we can pull it in for Darwin systems. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/tools/os_support.c b/tools/os_support.c index 5b919aa..1ed89e6 100644 --- a/tools/os_support.c +++ b/tools/os_support.c
@@ -23,3 +23,6 @@ #ifdef __MINGW32__ #include "mingw_support.c" #endif +#ifdef __APPLE__ +#include "getline.c" +#endif