Skip to content

Commit

Permalink
Only block tsf.h on Xtensa ESP32, not RISCV (#722)
Browse files Browse the repository at this point in the history
Fixes #721
  • Loading branch information
earlephilhower authored Dec 19, 2024
1 parent aafabf2 commit cdd07c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libtinysoundfont/tsf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdd07c9

Please sign in to comment.