File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 4848#endif
4949
5050/* 1.8.1: remove dependency on jinclude.h */
51+ //#pragma pack(push, 8)
5152#include "jpeglib.h"
53+ //#pragma pack(pop)
5254#include "jerror.h"
5355
56+
57+ //#pragma message ("sizeof(jpeg_compress_struct) = " STRINGIFY(sizeof(struct jpeg_compress_struct)))
58+ //#pragma message ("sizeof(jpeg_error_mgr) = " STRINGIFY(sizeof(struct jpeg_error_mgr)))
59+
60+ //static_assert(sizeof(struct jpeg_compress_struct) == 584, "Check jpeg_compress_struct size");
61+
5462static const char * const GD_JPEG_VERSION = "1.0" ;
5563
5664typedef struct _jmpbuf_wrapper {
Original file line number Diff line number Diff line change 2020#include "jinclude.h"
2121#include "jpeglib.h"
2222
23+ //#define STRINGIFY_HELPER(x) #x
24+ //#define STRINGIFY(x) STRINGIFY_HELPER(x)
25+
26+ //#pragma message ("sizeof(jpeg_compress_struct) = " STRINGIFY(sizeof(struct jpeg_compress_struct)))
27+ //#pragma message ("sizeof(jpeg_error_mgr) = " STRINGIFY(sizeof(struct jpeg_error_mgr)))
28+
29+
30+ //static_assert(sizeof(struct jpeg_compress_struct) == 584, "Check jpeg_compress_struct size");
2331
2432/*
2533 * Master selection of compression modules.
You can’t perform that action at this time.
0 commit comments