Skip to content

Commit cdd07c9

Browse files
Only block tsf.h on Xtensa ESP32, not RISCV (#722)
Fixes #721
1 parent aafabf2 commit cdd07c9

File tree

1 file changed

+3
-1
lines changed
  • src/libtinysoundfont

1 file changed

+3
-1
lines changed

src/libtinysoundfont/tsf.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
// 2101 | }
5151
// | ^
5252

53-
#if !defined(ESP32)
53+
#if defined(ESP32) && (__GNUC__ >= 8) && (__XTENSA__)
54+
// Not defined, can't build
55+
#else
5456

5557
#ifndef TSF_INCLUDE_TSF_INL
5658
#define TSF_INCLUDE_TSF_INL

0 commit comments

Comments
 (0)