فهرست منبع

Final compile fix.

DjWarmonger 9 سال پیش
والد
کامیت
7cf2d79584
3فایلهای تغییر یافته به همراه3 افزوده شده و 6 حذف شده
  1. 0 3
      lib/filesystem/FileStream.cpp
  2. 1 1
      lib/minizip/ioapi.c
  3. 2 2
      lib/minizip/ioapi.h

+ 0 - 3
lib/filesystem/FileStream.cpp

@@ -7,11 +7,8 @@
 #include "../minizip/unzip.h"
 #endif
 
-#include "../minizip/ioapi.h"
-
 #include <cstdio>
 
-
 #ifdef VCMI_WINDOWS
 	#ifndef _CRT_SECURE_NO_WARNINGS
 		#define _CRT_SECURE_NO_WARNINGS

+ 1 - 1
lib/minizip/ioapi.c

@@ -234,7 +234,7 @@ void fill_fopen_filefunc (pzlib_filefunc_def)
     pzlib_filefunc_def->opaque = NULL;
 }
 
-void fill_fopen64_filefunc (zlib_filefunc64_def*  pzlib_filefunc_def)
+void fill_fopen64_filefunc(zlib_filefunc64_def*  pzlib_filefunc_def)
 {
     pzlib_filefunc_def->zopen64_file = fopen64_file_func;
     pzlib_filefunc_def->zread_file = fread_file_func;

+ 2 - 2
lib/minizip/ioapi.h

@@ -198,8 +198,8 @@ typedef struct zlib_filefunc64_def_s
     voidpf              opaque;
 } zlib_filefunc64_def;
 
-void fill_fopen64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def));
-void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
+ZEXPORT void fill_fopen64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def));
+ZEXPORT void fill_fopen_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
 
 /* now internal definition, only for zip.c and unzip.h */
 typedef struct zlib_filefunc64_32_def_s