Fixed MinGW build error.
This commit is contained in:
parent
6c68a79526
commit
3f5a861c00
2
3rdparty/tinyexr/tinyexr.h
vendored
2
3rdparty/tinyexr/tinyexr.h
vendored
@ -4327,7 +4327,7 @@ void *tdefl_write_image_to_png_file_in_memory(const void *pImage, int w, int h,
|
||||
#include <stdio.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) {
|
||||
FILE *pFile = NULL;
|
||||
fopen_s(&pFile, pFilename, pMode);
|
||||
|
Loading…
Reference in New Issue
Block a user