getline: split out for darwin systems
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Jan 2010 07:48:03 +0000 (02:48 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 25 Jan 2010 23:07:13 +0000 (00:07 +0100)
commit64b150213365db6be97a98d25884f87d83caacaf
treeba4fa5cceead362257f8f8aa0c80333721798ec4
parente852d36a1e12864ab0656729c45c846e65efa4ee
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>
tools/getline.c [new file with mode: 0644]
tools/getline.h [new file with mode: 0644]
tools/mingw_support.c
tools/mingw_support.h
tools/os_support.c
tools/os_support.h