Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-07-10 15:58:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-10 16:00:17 +0300
commit45287f909cce952ef1a248612ed8c0a1ab45846c (patch)
tree698bcd64ef0d880d258aec060d0969b3e274cd0a /source/blender
parent26d28ade26f7a8e55c4e290c209948345f47eb45 (diff)
Fix for building on systems besides apple/windows/linux
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/storage.c9
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;