Module: Mesa Branch: main Commit: c0dd2eabaaca939883a6c9b73ea7bfc476907e36 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0dd2eabaaca939883a6c9b73ea7bfc476907e36
Author: Yonggang Luo <[email protected]> Date: Sun Aug 7 13:21:26 2022 +0800 util: open_memstream also support on MacOS Signed-off-by: Yonggang Luo <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16995> --- src/util/memstream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/memstream.c b/src/util/memstream.c index 01d0bb1065a..b4da4402d0e 100644 --- a/src/util/memstream.c +++ b/src/util/memstream.c @@ -51,8 +51,6 @@ u_memstream_open(struct u_memstream *mem, char **bufp, size_t *sizep) } return success; -#elif defined(__APPLE__) - return false; #else FILE *const f = open_memstream(bufp, sizep); mem->f = f;
