Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMG_jpg.c doesn't build with the new libjpeg #28

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

IMG_jpg.c doesn't build with the new libjpeg #28

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: unspecified
Reported for operating system, platform: Windows 7, x86_64

Comments on the original bug report:

On 2011-04-07 07:24:58 +0000, wrote:

Created attachment 599
Diff for libjpeg 8

libjpeg 8 has a different naming scheme for booleans:

boolean -> JPEG_boolean
FALSE -> JPEG_FALSE
TRUE -> JPEG_TRUE

I'm building SDL_image with MinGW, attached is a small change I've made to IMG_jpg.c to be able to compile it.

On 2011-04-07 08:01:37 +0000, Sam Lantinga wrote:

This is in, thanks!
http://hg.libsdl.org/SDL_image/rev/b1c1ec3a8d49

On 2011-09-25 17:09:34 +0000, Yury G. Kudryashov wrote:

Created attachment 708
Fix compilation on Linux

TRUE was renamed to JPEG_TRUE by mingw port maintainers, not by upstream developers.

So instead of testing for version number one should test whether JPEG_TRUE is defined.

The attached patch is against the latest hg version.

On 2011-12-31 09:36:49 +0000, Sam Lantinga wrote:

I like this patch, it's in, thanks!
http://hg.libsdl.org/SDL_image/rev/e0527402f476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant