mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
File: Enable symbolic link creation on BSD
This commit is contained in:
parent
f7e04d1423
commit
59727e6860
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue