diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 00:04:37 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:04:36 -0400 |
commit | 6bce9e50915d730caa3bd2b60c513fe9915e4b83 (patch) | |
tree | 84ae681b9747ea809ea686dcd0a3ad889beb0d2f /src/gui/MessagesWindow.cpp | |
parent | 5bec7b8de6378bc6cdac5521493a437725048330 (diff) | |
download | ingen-6bce9e50915d730caa3bd2b60c513fe9915e4b83.tar.gz ingen-6bce9e50915d730caa3bd2b60c513fe9915e4b83.tar.bz2 ingen-6bce9e50915d730caa3bd2b60c513fe9915e4b83.zip |
Switch to meson build system
Diffstat (limited to 'src/gui/MessagesWindow.cpp')
-rw-r--r-- | src/gui/MessagesWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/MessagesWindow.cpp b/src/gui/MessagesWindow.cpp index 2e0fdb61..9127ad61 100644 --- a/src/gui/MessagesWindow.cpp +++ b/src/gui/MessagesWindow.cpp @@ -18,6 +18,7 @@ #include "App.hpp" #include "Window.hpp" +#include "ingen_config.h" #include "ingen/URIs.hpp" #include "lv2/urid/urid.h" @@ -102,7 +103,7 @@ MessagesWindow::log(LV2_URID type, const char* fmt, va_list args) { std::lock_guard<std::mutex> lock(_mutex); -#ifdef HAVE_VASPRINTF +#if USE_VASPRINTF char* buf = nullptr; const int len = vasprintf(&buf, fmt, args); #else |