|
@@ -36,6 +36,10 @@
|
|
|
#include <png.h>
|
|
#include <png.h>
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+// jconfig.h overrides our INLINE definition.
|
|
|
|
|
+#ifdef __GNUC__
|
|
|
|
|
+#pragma push_macro("INLINE")
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
extern "C" {
|
|
extern "C" {
|
|
|
#include <stdio.h> // jpeglib requires this to be included first.
|
|
#include <stdio.h> // jpeglib requires this to be included first.
|
|
@@ -43,6 +47,11 @@ extern "C" {
|
|
|
#include <setjmp.h>
|
|
#include <setjmp.h>
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// Restore our own INLINE definition.
|
|
|
|
|
+#ifdef __GNUC__
|
|
|
|
|
+#pragma pop_macro("INLINE")
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* For reading and writing Jpeg files.
|
|
* For reading and writing Jpeg files.
|
|
|
*/
|
|
*/
|