diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-28 01:03:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-28 01:03:39 +0400 |
commit | d9bcd249cf40dfd8bf168d816dcb6627e6a1c517 (patch) | |
tree | dbef51361de7c3f3d4dbf602428cef7e3fb2b73f /source/blender/blenlib | |
parent | 1a59eb21a9de789eb6fe7544a442e4a02a766e60 (diff) |
remove some warnings
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/BLI_bfile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_bfile.c b/source/blender/blenlib/intern/BLI_bfile.c index dc593e23bdc..2330beb618d 100644 --- a/source/blender/blenlib/intern/BLI_bfile.c +++ b/source/blender/blenlib/intern/BLI_bfile.c @@ -34,6 +34,7 @@ #else #include <io.h> #include "BLI_winstuff.h" + static char* find_in_pathlist(char* filename, char* pathlist); #endif #include <sys/types.h> #include <sys/stat.h> @@ -66,7 +67,6 @@ static void chomp(char* line); static void expand_envvars(char* src, char* dst); static void fill_paths(BFILE *bfile, const char *path, const char *relpath); -static char* find_in_pathlist(char* filename, char* pathlist); static void init_vars_from_file(const char* path); static void free_paths(BFILE* bfile); static void setup_temp(); @@ -481,6 +481,8 @@ static void expand_envvars(char* src, char* dst) { #else #define SEPARATOR ':' #endif + +#ifdef WIN32 static char* find_in_pathlist(char* filename, char* pathlist) { char first[FILE_MAX + 10]; char* rest = NULL; @@ -510,7 +512,7 @@ static char* find_in_pathlist(char* filename, char* pathlist) { return NULL; } } - +#endif /** Setup fpath and tpath based in the needs of the bfile. |