aboutsummaryrefslogtreecommitdiff
path: root/src/midi_sequencer.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-21 04:41:54 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-21 04:41:54 +0300
commit51ffa56a7f30679ecb40d76725a94b9c954546a1 (patch)
treeba3d942c0c3d91b1baf6c8697cfedd44aa814887 /src/midi_sequencer.h
parent0e6debe44d6e03c495d670762c1a7d6e8acb12c8 (diff)
downloadlibADLMIDI-51ffa56a7f30679ecb40d76725a94b9c954546a1.tar.gz
libADLMIDI-51ffa56a7f30679ecb40d76725a94b9c954546a1.tar.bz2
libADLMIDI-51ffa56a7f30679ecb40d76725a94b9c954546a1.zip
Attempt to fix a Windows build
Diffstat (limited to 'src/midi_sequencer.h')
-rw-r--r--src/midi_sequencer.h4
1 files changed, 2 insertions, 2 deletions
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 <stddef.h>
#include <stdint.h>
-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
}