Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a59b6ac6 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Only the Mac doesn't have open_memstream."

parents 373c7758 3ff8888f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

#include <stdio.h>

#ifndef HAVE_OPEN_MEMSTREAM
#if defined(__APPLE__)

#ifdef __cplusplus
extern "C" {
@@ -31,6 +31,6 @@ FILE* open_memstream(char** bufp, size_t* sizep);
}
#endif

#endif /*!HAVE_OPEN_MEMSTREAM*/
#endif /* __APPLE__ */

#endif /*__CUTILS_OPEN_MEMSTREAM_H__*/
+2 −2
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#ifndef HAVE_OPEN_MEMSTREAM
#if defined(__APPLE__)

/*
 * Implementation of the POSIX open_memstream() function, which Linux has
@@ -378,4 +378,4 @@ DONE

#endif

#endif /*!HAVE_OPEN_MEMSTREAM*/
#endif /* __APPLE__ */