diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2010-01-08 02:48:03 -0500 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2010-01-26 00:07:13 +0100 | 
| commit | 64b150213365db6be97a98d25884f87d83caacaf (patch) | |
| tree | ba4fa5cceead362257f8f8aa0c80333721798ec4 /tools/getline.h | |
| parent | e852d36a1e12864ab0656729c45c846e65efa4ee (diff) | |
| download | olio-uboot-2014.01-64b150213365db6be97a98d25884f87d83caacaf.tar.xz olio-uboot-2014.01-64b150213365db6be97a98d25884f87d83caacaf.zip | |
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>
Diffstat (limited to 'tools/getline.h')
| -rw-r--r-- | tools/getline.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/tools/getline.h b/tools/getline.h new file mode 100644 index 000000000..a2f35b92b --- /dev/null +++ b/tools/getline.h @@ -0,0 +1 @@ +int getline(char **lineptr, size_t *n, FILE *stream); |