From 67ffecc8f863453fc417cfbad28eca5d177ad1f8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 May 2007 17:27:20 +0000 Subject: Yeah, another one. git-svn-id: http://svn.drobilla.net/lad/machina@512 a436a847-0d15-0410-975c-d299462d15a1 --- configure.ac | 2 +- src/engine/JackDriver.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 #include "machina/JackDriver.hpp" #include "machina/MidiAction.hpp" +#include "../config.h" #include "jack_compat.h" using namespace Raul; -- cgit v1.2.1