From 64b150213365db6be97a98d25884f87d83caacaf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 8 Jan 2010 02:48:03 -0500 Subject: 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 --- tools/os_support.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/os_support.c') diff --git a/tools/os_support.c b/tools/os_support.c index 5b919aa86..1ed89e6c8 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 -- cgit v1.2.3