|
@@ -4327,7 +4327,7 @@ void *tdefl_write_image_to_png_file_in_memory(const void *pImage, int w, int h,
|
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
|
#include <sys/stat.h>
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
-#if defined(_MSC_VER) || defined(__MINGW64__)
|
|
|
|
|
|
|
+#if defined(_MSC_VER) //|| defined(__MINGW64__)
|
|
|
static FILE *mz_fopen(const char *pFilename, const char *pMode) {
|
|
static FILE *mz_fopen(const char *pFilename, const char *pMode) {
|
|
|
FILE *pFile = NULL;
|
|
FILE *pFile = NULL;
|
|
|
fopen_s(&pFile, pFilename, pMode);
|
|
fopen_s(&pFile, pFilename, pMode);
|