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 4667

Summary: Build errors on Linux when building without Threads support
Product: SDL Reporter: Manuel Sabogal <mfer32>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 2.0Keywords: target-2.0.10
Hardware: All   
OS: Linux   
Attachments: linux.patch

Description Manuel Sabogal 2019-06-17 00:04:59 UTC
Created attachment 3826 [details]
linux.patch

There is an issue on the latest commit of the mercurial repo when SDL_THREADS_DISABLED is set:

src/core/linux/SDL_threadprio.c:79:28: error: unknown type name 'Sint64'; did you mean 'int'

I attach a patch that fixes this.
Comment 1 Ryan C. Gordon 2019-06-17 05:10:22 UTC
Shoot, I thought we fixed this a long time ago.  :/

--ryan.
Comment 2 Sam Lantinga 2019-06-17 15:38:53 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/71ddabe9ad73