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:
authorAndrea Weikert <elubie@gmx.net>2009-10-19 23:26:28 +0400
committerAndrea Weikert <elubie@gmx.net>2009-10-19 23:26:28 +0400
commit059d4f181cf2b0dfe735bbbcc35fa945ee466cc8 (patch)
tree4fd41bd80f3a32183b721981fd246c81a03b7887 /source/blender/blenlib/intern/storage.c
parent0ce295064907b42e3f3140fc498b78c71304e03f (diff)
file browser
* the code for BLI_is_dir can be shared on Windows, no need of extra implementation - error was usage of BLI_exists instead of BLI_exist! * left BLI_is_dir in since it's nicer to read and understand * also removed deprecated outliner_header from MSVC projectfiles.
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r--source/blender/blenlib/intern/storage.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index b48b6784c23..dbf1f5100a6 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -470,11 +470,7 @@ int BLI_exist(char *name)
/* would be better in fileops.c except that it needs stat.h so add here */
int BLI_is_dir(char *file) {
-#ifdef WIN32
- return 1; /* XXX - TODO */
-#else
return S_ISDIR(BLI_exist(file));
-#endif
}
LinkNode *BLI_read_file_as_lines(char *name)