diff options
author | Thierry Lelegard <lelegard@users.noreply.github.com> | 2020-11-28 17:10:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 17:10:51 +0100 |
commit | 66e550d11f1cb1fc5c13e8acf608cf753f1fb2fc (patch) | |
tree | 88cd66d24668c2910044493e950ab57ce6833adb /src/Main | |
parent | 719f32fa7712ab411430377217aadce57f17f272 (diff) | |
download | VeraCrypt-66e550d11f1cb1fc5c13e8acf608cf753f1fb2fc.tar.gz VeraCrypt-66e550d11f1cb1fc5c13e8acf608cf753f1fb2fc.zip |
Fixed macFUSE support for macOS 11 (Big Sur) (#699)
Diffstat (limited to 'src/Main')
-rw-r--r-- | src/Main/Forms/MainFrame.h | 2 | ||||
-rwxr-xr-x | src/Main/Main.make | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Main/Forms/MainFrame.h b/src/Main/Forms/MainFrame.h index 9089ce72..44329459 100644 --- a/src/Main/Forms/MainFrame.h +++ b/src/Main/Forms/MainFrame.h @@ -170,7 +170,7 @@ namespace VeraCrypt void EnsureVisible(bool bOnlyHeadingBar = false) { - wxDisplay display (this); + wxDisplay display; wxRect displayRect = display.GetClientArea(); bool bMove = false; diff --git a/src/Main/Main.make b/src/Main/Main.make index 18efba64..19da94f9 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -103,7 +103,7 @@ endif #------ FUSE configuration ------ ifeq "$(PLATFORM)" "MacOSX" -FUSE_LIBS = $(shell pkg-config osxfuse --libs) +FUSE_LIBS = $(shell pkg-config $(if $(patsubst 10.%,,$(VC_OSX_TARGET)),fuse,osxfuse) --libs) else FUSE_LIBS = $(shell pkg-config fuse --libs) endif |