diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 15:58:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 16:00:17 +0300 |
commit | 45287f909cce952ef1a248612ed8c0a1ab45846c (patch) | |
tree | 698bcd64ef0d880d258aec060d0969b3e274cd0a /source/blender/blenlib/intern/storage.c | |
parent | 26d28ade26f7a8e55c4e290c209948345f47eb45 (diff) |
Fix for building on systems besides apple/windows/linux
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 9 |
1 files changed, 2 insertions, 7 deletions
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; |