We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3743 - make testautomation_sdltest.c to compile
Summary: make testautomation_sdltest.c to compile
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 11:38 UTC by Ozkan Sezer
Modified: 2017-08-14 04:19 UTC (History)
0 users

See Also:


Attachments
testautomation_sdltest.patch (3.99 KB, patch)
2017-08-13 11:39 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2017-08-13 11:38:46 UTC
The attached patch makes testautomation_sdltest.c more compatible wrt
LLONG_{MIN|MAX} macros and makes it to compile on older systems  (e.g.
glibc-2.8) too, by replacing LLONG_{MIN|MAX} with INT64_{MIN|MAX}.

c.f.: bug #3494, where the same issue was described for SDL_test_fuzzer.c
Comment 1 Ozkan Sezer 2017-08-13 11:39:43 UTC
Created attachment 2831 [details]
testautomation_sdltest.patch
Comment 2 Sam Lantinga 2017-08-14 04:19:12 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/a2792ce0ec8c