From 45287f909cce952ef1a248612ed8c0a1ab45846c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Jul 2020 22:58:30 +1000 Subject: Fix for building on systems besides apple/windows/linux --- source/blender/blenlib/intern/storage.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index f2217b1cd1a..96a7445462d 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -275,18 +275,15 @@ eFileAttributes BLI_file_attributes(const char *path) ret |= FILE_ATTR_REPARSE_POINT; } -# endif +# else -# ifdef __linux__ UNUSED_VARS(path); /* TODO: * If Immutable set FILE_ATTR_READONLY * If Archived set FILE_ATTR_ARCHIVE */ - # endif - return ret; } #endif @@ -330,9 +327,7 @@ bool BLI_file_alias_target(char target[FILE_MAXDIR], const char *filepath) } return (success && target[0]); -# endif - -# ifdef __linux__ +# else UNUSED_VARS(target, filepath); /* File-based redirection not supported. */ return false; -- cgit v1.2.3