mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-09-27 08:46:20 +02:00
Add support for FAT filesystem detection on FreeBSD
Use the same code for macOS on FreeBSD as their statfs implementation is essentially the same. Signed-off-by: Avery King <avery98@pm.me>
This commit is contained in:
@@ -702,7 +702,7 @@ wxString FileNames::UnsavedProjectExtension()
|
||||
|
||||
// How to detect whether the file system of a path is FAT
|
||||
// No apparent way to do it with wxWidgets
|
||||
#if defined(__DARWIN__)
|
||||
#if defined(__DARWIN__) || defined(__FreeBSD__)
|
||||
#include <sys/mount.h>
|
||||
bool FileNames::IsOnFATFileSystem(const FilePath &path)
|
||||
{
|
||||
|
Reference in New Issue
Block a user