Ver Fonte

Fixed MinGW build error.

Branimir Karadžić há 10 anos atrás
pai
commit
3f5a861c00
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      3rdparty/tinyexr/tinyexr.h

+ 1 - 1
3rdparty/tinyexr/tinyexr.h

@@ -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);