From 17befcdaa6d5e281aea22c5d83e3326f6ee9373c Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 17 Feb 2015 01:09:54 +0000 Subject: [PATCH] Fix non-linux build --- dgl/src/Window.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index c901ff2b..f18aff56 100644 --- 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