From 2e19420756a9cc41f8bb9d43eb3cf2223fd90730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 4 Jun 2024 22:18:27 +0200 Subject: [PATCH] stream_cdda: suppress Wundef warning --- stream/stream_cdda.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c index 71ae461493..37c1435734 100644 --- a/stream/stream_cdda.c +++ b/stream/stream_cdda.c @@ -26,6 +26,10 @@ // For cdio_cddap_version #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-prototypes" +#ifndef TESTING_IS_FINISHED +// Suppress Wundef warning +#define TESTING_IS_FINISHED 0 +#endif #include #include #pragma GCC diagnostic pop