diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 02:08:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-24 02:08:11 +0400 |
commit | 62c0ac2dc9462b1e6e6b8b271cbcd100886a83e9 (patch) | |
tree | b59162fcad8b5d7a98ea68263887fd0eb749d52b /source/blender/editors/space_file/filesel.c | |
parent | 28e8c04795e40af2a0b2fbc2885e6ab97d4daace (diff) |
unix style outliner name wildcards *.*, Any.???, etc (using fnmatch), also removed last beos reference :)
Diffstat (limited to 'source/blender/editors/space_file/filesel.c')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index 64ca0a8e572..ea098ffcdb4 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -77,16 +77,10 @@ #include "file_intern.h" #include "filelist.h" -#if defined __BeOS -static int fnmatch(const char *pattern, const char *string, int flags) -{ - return 0; -} -#elif defined WIN32 && !defined _LIBC - /* use fnmatch included in blenlib */ - #include "BLI_fnmatch.h" +#if defined WIN32 && !defined _LIBC +# include "BLI_fnmatch.h" /* use fnmatch included in blenlib */ #else - #include <fnmatch.h> +# include <fnmatch.h> #endif FileSelectParams* ED_fileselect_get_params(struct SpaceFile *sfile) |