From 59727e6860d6cb9ee42bbb04651fb1520515a5c5 Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 10 May 2023 22:58:44 +0100 Subject: [PATCH] File: Enable symbolic link creation on BSD --- modules/juce_core/files/juce_File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/files/juce_File.cpp b/modules/juce_core/files/juce_File.cpp index d19f14b868..43e226e38e 100644 --- a/modules/juce_core/files/juce_File.cpp +++ b/modules/juce_core/files/juce_File.cpp @@ -970,7 +970,7 @@ bool File::createSymbolicLink (const File& linkFileToCreate, linkFileToCreate.deleteFile(); } - #if JUCE_MAC || JUCE_LINUX + #if JUCE_MAC || JUCE_LINUX || JUCE_BSD // one common reason for getting an error here is that the file already exists if (symlink (nativePathOfTarget.toRawUTF8(), linkFileToCreate.getFullPathName().toRawUTF8()) == -1) {