VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-20 13:49:31 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-20 13:49:31 +0100
commitc17270fc53453913d61d52bbd8fc41c83498db51 (patch)
tree62f62a475d81513196e8170ffc23c185c77b55f3
parentb187afb4c8de8e4546f4aa96c328e61a86d144ca (diff)
downloadVeraCrypt-c17270fc53453913d61d52bbd8fc41c83498db51.tar.gz
VeraCrypt-c17270fc53453913d61d52bbd8fc41c83498db51.zip
MacOSX: Fix erroneous preprocessor directive
-rw-r--r--src/Platform/Unix/Process.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform/Unix/Process.cpp b/src/Platform/Unix/Process.cpp
index 0c2a9c59..395d4bc9 100644
--- a/src/Platform/Unix/Process.cpp
+++ b/src/Platform/Unix/Process.cpp
@@ -47,9 +47,9 @@ namespace VeraCrypt
// Default system directories to search for executables
#ifdef TC_MACOSX
const char* defaultDirs[] = {"/usr/local/bin", "/usr/bin", "/bin", "/user/sbin", "/sbin"};
-#elseif TC_FREEBSD
+#elif TC_FREEBSD
const char* defaultDirs[] = {"/sbin", "/bin", "/usr/sbin", "/usr/bin", "/usr/local/sbin", "/usr/local/bin"};
-#elseif TC_OPENBSD
+#elif TC_OPENBSD
const char* defaultDirs[] = {"/sbin", "/bin", "/usr/sbin", "/usr/bin", "/usr/X11R6/bin", "/usr/local/sbin", "/usr/local/bin"};
#else
const char* defaultDirs[] = {"/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin"};