From d429068bcfe70dfc0eed94c4ce720024db89dc69 Mon Sep 17 00:00:00 2001 From: Ed Date: Mon, 29 Apr 2024 10:31:13 +0100 Subject: [PATCH] Guard midiparseout for XC --- lib_xua/src/midi/midioutparse.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_xua/src/midi/midioutparse.h b/lib_xua/src/midi/midioutparse.h index 356d4190..9219f60b 100644 --- a/lib_xua/src/midi/midioutparse.h +++ b/lib_xua/src/midi/midioutparse.h @@ -6,6 +6,8 @@ #warning MAYBE A SYSEX START AND FINISH IS SAFEST FOR NULL? #define MIDI_OUT_NULL_MESSAGE 0x00000000 // midi_out_parse will return a size of 0 for this invalid message/event +#ifdef __XC__ {unsigned, unsigned, unsigned, unsigned} midi_out_parse(unsigned event); +#endif #endif