equal
deleted
inserted
replaced
903 //******************************************** |
903 //******************************************** |
904 //********** START OF ZLIB CODE ************** |
904 //********** START OF ZLIB CODE ************** |
905 //******************************************** |
905 //******************************************** |
906 |
906 |
907 #if defined(WITH_ZLIB) |
907 #if defined(WITH_ZLIB) |
908 #define ZLIB_WINAPI // Needed so zlib uses the right calling convention. |
908 |
|
909 // This is needed to zlib uses the stdcall calling convention on visual studio |
|
910 #ifdef _MSC_VER |
|
911 #define ZLIB_WINAPI |
|
912 #endif |
|
913 |
909 #include <zlib.h> |
914 #include <zlib.h> |
910 static z_stream _z; |
915 static z_stream _z; |
911 |
916 |
912 static bool InitReadZlib(void) |
917 static bool InitReadZlib(void) |
913 { |
918 { |