mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
90234f16f1
PR: 178956 Submitted by: Ports Fury
24 lines
654 B
C++
24 lines
654 B
C++
--- src/controllers/controllermanager.cpp.orig
|
|
+++ src/controllers/controllermanager.cpp
|
|
@@ -12,7 +12,10 @@
|
|
#include "controllers/defs_controllers.h"
|
|
#include "controllers/controllerlearningeventfilter.h"
|
|
|
|
+#ifdef __PORTMIDI__
|
|
#include "controllers/midi/portmidienumerator.h"
|
|
+#endif
|
|
+
|
|
#ifdef __HSS1394__
|
|
#include "controllers/midi/hss1394enumerator.h"
|
|
#endif
|
|
@@ -78,7 +81,9 @@
|
|
m_pPresetInfoManager = new PresetInfoEnumerator(m_pConfig);
|
|
|
|
// Instantiate all enumerators
|
|
+#ifdef __PORTMIDI__
|
|
m_enumerators.append(new PortMidiEnumerator());
|
|
+#endif
|
|
#ifdef __HSS1394__
|
|
m_enumerators.append(new Hss1394Enumerator());
|
|
#endif
|