From fd02142b4ec8c5a414766e8ecb62f9d2a15b03f7 Mon Sep 17 00:00:00 2001 From: David Madl Date: Mon, 2 Mar 2026 09:11:48 +0100 Subject: [PATCH] cc for android: do not compile buffer.c and xfermem.c with NOXFERMEM --- src/libout123/buffer.c | 2 ++ src/libout123/xfermem.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libout123/buffer.c b/src/libout123/buffer.c index f99cd2f..6a9e0d3 100644 --- a/src/libout123/buffer.c +++ b/src/libout123/buffer.c @@ -1,3 +1,4 @@ +#ifndef NOXFERMEM /* buffer.c: output buffer @@ -1016,3 +1017,4 @@ int buffer_loop(out123_handle *ao) intflag = FALSE; /* Any possible harm by _not_ ensuring that the flag is cleared here? */ } } +#endif diff --git a/src/libout123/xfermem.c b/src/libout123/xfermem.c index 486fd01..fac58c3 100644 --- a/src/libout123/xfermem.c +++ b/src/libout123/xfermem.c @@ -1,3 +1,4 @@ +#ifndef NOXFERMEM /* xfermem: unidirectional fast pipe @@ -302,3 +303,4 @@ int INT123_xfermem_write(txfermem *xf, void *buffer, size_t bytes) ? -1 : 0; } +#endif