Skip to content

Commit 7e2343b

Browse files
committed
Fix gcc issue with std::filesystem
1 parent 1e28f17 commit 7e2343b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/PluginEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ void PluginEditor::paint(Graphics& g)
426426
// This is easier than having to replicate the DnD highlight at the edge of the NVG window.
427427
if (welcomePanel->isVisible()) {
428428
g.setColour(findColour(PlugDataColour::panelBackgroundColourId));
429-
g.fillRect(workArea.withTrimmedTop(5).withTrimmedBottom(50));
429+
g.fillRect(workArea.withTrimmedTop(5));
430430
}
431431
}
432432

Source/Utility/OSUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# include <raw_keyboard_input/raw_keyboard_input.cpp>
1515
#endif
1616

17-
#if defined(__cpp_lib_filesystem) && (!defined(__APPLE__) || __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101500)
17+
#if (defined(__cpp_lib_filesystem) || __has_include(<filesystem>)) && (!defined(__APPLE__) || __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101500)
1818
# include <filesystem>
1919
namespace fs = std::filesystem;
2020
#elif defined(__cpp_lib_experimental_filesystem)

0 commit comments

Comments
 (0)