We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb7ee8 commit ba8052bCopy full SHA for ba8052b
2 files changed
examples/modules.cpp
@@ -1,5 +1,6 @@
1
import libremidi;
2
3
+#define LIBREMIDI_USE_MODULES 1
4
#include "utils.hpp"
5
6
#include <cstdlib>
examples/utils.hpp
@@ -1,8 +1,10 @@
#pragma once
+#if !defined(LIBREMIDI_USE_MODULES)
#include <libremidi/libremidi.hpp>
// Credits to https://raw.githubusercontent.com/atsushieno/cmidi2
#include <libremidi/cmidi2.hpp>
7
+#endif
8
#if LIBREMIDI_USE_NI_MIDI2
9
#include <midi/universal_packet.h>
10
#endif
0 commit comments