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>2012-03-20 07:48:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-20 07:48:32 +0400
commitbfcd1afe9c810621eef534832973dcd06010b388 (patch)
tree1b65222594e3892551b7f8c41ce99e3e925b8444 /source/blender/blenlib/BLI_fileops.h
parentb163e19b8df818becbd97c57a55c5a4e0e900da1 (diff)
compile fix: linux BLI_gzopen declare was conflicting.
Diffstat (limited to 'source/blender/blenlib/BLI_fileops.h')
-rw-r--r--source/blender/blenlib/BLI_fileops.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_fileops.h b/source/blender/blenlib/BLI_fileops.h
index fa1a61998d7..73220cbd739 100644
--- a/source/blender/blenlib/BLI_fileops.h
+++ b/source/blender/blenlib/BLI_fileops.h
@@ -45,6 +45,8 @@ extern "C" {
/* for size_t (needed on windows) */
#include <stddef.h>
+struct gzFile;
+
/* Common */
int BLI_exists(const char *path);
@@ -68,8 +70,8 @@ unsigned int BLI_dir_contents(const char *dir, struct direntry **filelist);
/* Files */
-FILE * BLI_fopen(const char * filename, const char * mode);
-void* BLI_gzopen(const char * filename, const char * mode);
+FILE *BLI_fopen(const char *filename, const char *mode);
+void *BLI_gzopen(const char *filename, const char *mode);
int BLI_open(const char *filename, int oflag, int pmode);
int BLI_file_is_writable(const char *file);