DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 17befcdaa6d5e281aea22c5d83e3326f6ee9373c
parent f891cf5c8617b3d4dc0a0bddde43f738b6204e72
Author: falkTX <falktx@gmail.com>
Date:   Tue, 17 Feb 2015 01:09:29 +0000

Fix non-linux build

Diffstat:
Mdgl/src/Window.cpp | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp @@ -1008,6 +1008,7 @@ void Window::repaint() noexcept bool Window::openFileBrowser(const FileBrowserOptions& options) { +#ifdef SOFD_HAVE_X11 using DISTRHO_NAMESPACE::d_string; // -------------------------------------------------------------------------- @@ -1065,6 +1066,10 @@ bool Window::openFileBrowser(const FileBrowserOptions& options) // show return (x_fib_show(pData->xDisplay, pData->xWindow, /*options.width*/0, /*options.height*/0) == 0); +#else + // not implemented + return false; +#endif } bool Window::isVisible() const noexcept