aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-05-06 17:27:20 +0000
committerDavid Robillard <d@drobilla.net>2007-05-06 17:27:20 +0000
commit67ffecc8f863453fc417cfbad28eca5d177ad1f8 (patch)
treeac78fc456fb6f6f8a2d9d3fadd6dcd58f018a6e8
parentf6f44651c01f3b1605f720107569eb0de2a99dd3 (diff)
downloadmachina-67ffecc8f863453fc417cfbad28eca5d177ad1f8.tar.gz
machina-67ffecc8f863453fc417cfbad28eca5d177ad1f8.tar.bz2
machina-67ffecc8f863453fc417cfbad28eca5d177ad1f8.zip
Yeah, another one.
git-svn-id: http://svn.drobilla.net/lad/machina@512 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac2
-rw-r--r--src/engine/JackDriver.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a2ff7e6..48f24a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,7 @@ if test "$with_jack" = "yes"; then
AC_DEFINE(HAVE_JACK_MIDI, 1, [Has Jack MIDI])
AC_JACK_MIDI_NFRAMES_CHECK()
if test "$jackmidi_nframes" = "yes"; then
- CFLAGS+="-DJACK_MIDI_NEEDS_NFRAMES"
+ AC_DEFINE([JACK_MIDI_NEEDS_NFRAMES], 1, [Defined if we JACK MIDI functions need nframes parameter.])
fi
fi
diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp
index e56aa4b..6d7ae6a 100644
--- a/src/engine/JackDriver.cpp
+++ b/src/engine/JackDriver.cpp
@@ -19,6 +19,7 @@
#include <iomanip>
#include "machina/JackDriver.hpp"
#include "machina/MidiAction.hpp"
+#include "../config.h"
#include "jack_compat.h"
using namespace Raul;