Workaround to allow building on msys2 with libjpeg-turbo, #4713
This commit is contained in:
@@ -248,12 +248,18 @@ my_error_exit (j_common_ptr cinfo)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//const char * const jpeg_std_message_table[] = {
|
#ifdef WIN32
|
||||||
//#include "jerror.h"
|
#define JVERSION "6b 27-Mar-1998"
|
||||||
// NULL
|
#define JCOPYRIGHT_SHORT "(C) 1998, Thomas G. Lane"
|
||||||
//};
|
#define JMESSAGE(code,string) string ,
|
||||||
extern const char * const jpeg_std_message_table[];
|
|
||||||
|
|
||||||
|
const char * const jpeg_std_message_table[] = {
|
||||||
|
#include "jerror.h"
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
#else
|
||||||
|
extern const char * const jpeg_std_message_table[];
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actual output of an error or trace message.
|
* Actual output of an error or trace message.
|
||||||
|
Reference in New Issue
Block a user