diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaPiano.h | 6 | ||||
-rw-r--r-- | src/mdaPianoVoice.h | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/mdaPiano.h b/src/mdaPiano.h index ffb26c8..134be85 100644 --- a/src/mdaPiano.h +++ b/src/mdaPiano.h @@ -3,7 +3,11 @@ //See associated .cpp file for copyright and other info #include "mdaPianoVoice.h" -#include "ports.peg" +#ifdef PIANO +#include "mdaPiano.peg" +#elif defined EPIANO +#include "mdaEPiano.peg" +#endif #pragma GCC system_header #include <lvtk/synth.hpp> diff --git a/src/mdaPianoVoice.h b/src/mdaPianoVoice.h index 9de7cac..6c5c0db 100644 --- a/src/mdaPianoVoice.h +++ b/src/mdaPianoVoice.h @@ -2,7 +2,11 @@ #define MDA_PIANO_VOICE_H #include "mdaPianoCommon.h" -#include "ports.peg" +#ifdef PIANO +#include "mdaPiano.peg" +#elif defined EPIANO +#include "mdaEPiano.peg" +#endif #pragma GCC system_header #include <lvtk/synth.hpp> |