From b76be19b61a7ff42199e3b780981e3918767f913 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Tue, 20 Oct 2015 07:57:59 +0100 Subject: [PATCH] fix Darwin dep --- os/open_memstream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/open_memstream.c b/os/open_memstream.c index 14e3e7524..44c2c6aef 100644 --- a/os/open_memstream.c +++ b/os/open_memstream.c @@ -29,6 +29,8 @@ // #include "verify.h" +#if !HAVE_OPEN_MEMSTREAM + #if !HAVE_FUNOPEN # error Sorry, not ported to your platform yet #else @@ -192,3 +194,5 @@ open_memstream (char **buf, size_t *len) return f; } #endif /* HAVE_FUNOPEN */ + +#endif /* HAVE_OPEN_MEMSTREAM*/