commit 38dad9fdfd75e0887a31abb9bfe7acff88cfd85b parent 90b8d2d2710d7aeb9f8f097dc3b4baed11c1073f Author: falkTX <falktx@falktx.com> Date: Thu, 30 Jun 2022 15:40:19 +0100 Tweak requirements for filebrowser dialog on macOS Signed-off-by: falkTX <falktx@falktx.com> Diffstat:
M | distrho/extra/FileBrowserDialogImpl.cpp | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/distrho/extra/FileBrowserDialogImpl.cpp b/distrho/extra/FileBrowserDialogImpl.cpp @@ -321,8 +321,9 @@ FileBrowserHandle fileBrowserCreate(const bool isEmbed, ScopedPointer<FileBrowserData> handle(new FileBrowserData(options.saving)); #ifdef DISTRHO_OS_MAC -# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_8 +# if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8 // unsupported + d_stderr2("fileBrowserCreate is unsupported on macos < 10.8"); return nullptr; # else NSSavePanel* const nsBasePanel = handle->nsBasePanel;