Fix Linux compile due to C include in C++ code.
This commit is contained in:
@@ -17,8 +17,10 @@
|
||||
#pragma comment(lib, "libjpeg/jpeg.lib")
|
||||
#pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */
|
||||
#else
|
||||
extern "C" {
|
||||
#include <jpeglib.h>
|
||||
#include <jerror.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
struct my_jpeg_error_mgr
|
||||
|
||||
Reference in New Issue
Block a user