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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-28 01:31:44 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-28 01:31:44 +0400
commit8828aa060aca642161652783cf0ddf21de6bc69b (patch)
treea358bedd44046283505ee7ece2c05e438614f65b /source/blender/blenlib
parent4b1588e277d6a6e6bc7dc9553652d2ca4aad2d73 (diff)
- move zlib.h around to make windows happy
still having linking issues with zlib, grumble grumble
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/fileops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index 6442a304983..9a4ffca4844 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -44,8 +44,11 @@
#include <config.h>
#endif
+#include "zlib.h"
+
#ifdef WIN32
#include "BLI_winstuff.h"
+#include <io.h>
#else
#include <sys/param.h>
#endif
@@ -60,7 +63,6 @@
#include <fcntl.h>
#include "BKE_utildefines.h"
-#include "zlib.h"
#include <errno.h>
/* implementations: */
@@ -119,6 +121,8 @@ int BLI_gzip(char *from, char *to) {
close(file);
remove(from);
+
+ return 0;
}
#ifdef WIN32