Fix Linux compile due to C include in C++ code.

This commit is contained in:
Sean Burke
2004-06-03 08:02:27 +00:00
parent 2fdc062c08
commit 956698079b
+2
View File
@@ -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