From cfacf50fc1422d88b169d02cfaf48dd8529e5a76 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Fri, 20 Apr 2018 00:28:09 +0300 Subject: Put some another functions into "ADLMIDI_DISABLE_MIDI_SEQUENCER" zone Those functions are dead out of disabled MIDI Sequencer code, so, there are must NOT appear in the library when MIDI Sequencer is disabled. --- src/adlmidi_load.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/adlmidi_load.cpp') diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index 77e6f69..f87b547 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -32,6 +32,7 @@ # endif//XMI #endif //ADLMIDI_DISABLE_MIDI_SEQUENCER +#ifndef ADLMIDI_DISABLE_MIDI_SEQUENCER uint64_t MIDIplay::ReadBEint(const void *buffer, size_t nbytes) { uint64_t result = 0; @@ -54,6 +55,8 @@ uint64_t MIDIplay::ReadLEint(const void *buffer, size_t nbytes) return result; } +#endif + bool MIDIplay::LoadBank(const std::string &filename) { fileReader file; -- cgit v1.2.3