From 2fa88c6ec66d619b13d7ebf79a2e90361e34c152 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Thu, 19 Dec 2024 14:27:05 -0800 Subject: [PATCH] Only block tsf.h on Xtensa ESP32, not RISCV Fixes #721 --- src/libtinysoundfont/tsf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtinysoundfont/tsf.h b/src/libtinysoundfont/tsf.h index e40be989..a1bca925 100644 --- a/src/libtinysoundfont/tsf.h +++ b/src/libtinysoundfont/tsf.h @@ -50,7 +50,9 @@ // 2101 | } // | ^ -#if !defined(ESP32) +#if defined(ESP32) && (__GNUC__ >= 8) && (__XTENSA__) +// Not defined, can't build +#else #ifndef TSF_INCLUDE_TSF_INL #define TSF_INCLUDE_TSF_INL