fix crash in some cases

This commit is contained in:
nillerusr
2023-10-08 07:31:07 +03:00
parent 047f8b1185
commit b8558de63e
6 changed files with 12 additions and 6 deletions

View File

@@ -65,9 +65,12 @@ extern void longjmp( jmp_buf, int ) __attribute__((noreturn));
#define JPEGLIB_USE_STDIO
#if ANDROID
#include "android/jpeglib/jpeglib.h"
#else
#elif defined WIN32
#include "jpeglib/jpeglib.h"
#else
#include <jpeglib.h>
#endif
#undef JPEGLIB_USE_STDIO