From 51ffa56a7f30679ecb40d76725a94b9c954546a1 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Thu, 21 Jun 2018 04:41:54 +0300 Subject: Attempt to fix a Windows build --- src/midi_sequencer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/midi_sequencer.h b/src/midi_sequencer.h index d3b542e..2a2b543 100644 --- a/src/midi_sequencer.h +++ b/src/midi_sequencer.h @@ -33,7 +33,7 @@ extern "C" { #include #include -struct BW_MidiRtInterface +typedef struct { //! Raw MIDI event hook typedef void (*RawEventHook)(void *userdata, uint8_t type, uint8_t subtype, uint8_t channel, const uint8_t *data, size_t len); @@ -82,7 +82,7 @@ struct BW_MidiRtInterface typedef uint64_t (*RtCurrentDevice)(void *userdata, size_t track); RtCurrentDevice rt_currentDevice; -}; +} BW_MidiRtInterface; #ifdef __cplusplus } -- cgit v1.2.3