Re: [notmuch] Mac OS X/Darwin compatibility issues

Subject: Re: [notmuch] Mac OS X/Darwin compatibility issues

Date: Wed, 18 Nov 2009 14:14:27 +0800

To: Alexander Botero-Lowry

Cc: notmuch@notmuchmail.org

From: Jjgod Jiang


Hi,

On Wed, Nov 18, 2009 at 1:45 PM, Alexander Botero-Lowry
<alex.boterolowry@gmail.com> wrote:
> for getline do you mind trying #define _GNU_SOURCE 1
> before #include <stdio.h> in the offending files? The FreeBSD man pages
> mentions that as a way of enabling the GNU version of getline().

It seems even _GNU_SOURCE is defined, getline is still not present.
the C lib in Mac OS X simply doesn't have it. See also [1].

- Jiang

[1] http://stackoverflow.com/questions/1117108/compiling-c-code-using-gnu-c-getline-on-mac-osx

Thread: